Hi all,
I've started adding content to my app, and have discovered a bug that I can't fix or work out how/why it's happening! Would appreciate another pair of eyes on this one.
My app URL is http://ada.abernyte.org - if you go into the "Persons" table and do a "Quick Search" for "Boyd" your results will be filtered down to two rows, which is to be expected.
Now, go back to all results in the Persons table. Do a quick search for "Nicoll". There are two distinct Nicoll surnames added to that table so far, plus one McNicol surname. I would have expected the app to return two rows, or three if you search for "Nicol" (one L).
Instead, it shows ALL rows, and the Nicoll surnames are highlighted, but still remain mixed within the other records.
What on earth?! This isn't correct behaviour is it? And how can I get it to filter down to my Quick Search results?
Many thanks!
TNL
Help! Bug in my app!
-
- Veteran Member
- Posts: 67
- Joined: 2015-06-06 12:10
Re: Help! Bug in my app!
I've worked it out - not a bug, but still not particularly desirable.
I am using hidden columns in my db - created_by, last_updated_by. The user who entered these records has a surname of Nicoll, which is why they are being brought back in a quick search.
Can I exclude the created_by and last_updated_by columns from quick search?
I am using hidden columns in my db - created_by, last_updated_by. The user who entered these records has a surname of Nicoll, which is why they are being brought back in a quick search.
Can I exclude the created_by and last_updated_by columns from quick search?
-
- Veteran Member
- Posts: 67
- Joined: 2015-06-06 12:10
Re: Help! Bug in my app!
Fixed.
Commented out the relevant "fields that can be quick searched" lines in <YOURTABLE>_view.php
Well, this thread was awesome.
Commented out the relevant "fields that can be quick searched" lines in <YOURTABLE>_view.php
Well, this thread was awesome.
Re: Help! Bug in my app!
Yes, but things like this should be an option in the appgini ide. Appgini wil overwrite your files when generating.
Best regards, Kai
Best regards, Kai
-
- Veteran Member
- Posts: 67
- Joined: 2015-06-06 12:10
Re: Help! Bug in my app!
I've got so many custom bits and pieces in my files now that I can't really re-generate. If I make changes in the Appgini interface then generate, I need to spend significant amounts of time re-applying all my custom code. Don't know if there's a way around that, really.
Re: Help! Bug in my app!
If you have lots of custom bits of code go to this page:
http://www.bigprof.com/appgini/help/useful-links
And read the section on code management at the bottom.
Worth the time to figure out how a CVS system works. (I personally did not find them intuitive but eventually got one working ok)
Alan
http://www.bigprof.com/appgini/help/useful-links
And read the section on code management at the bottom.
Worth the time to figure out how a CVS system works. (I personally did not find them intuitive but eventually got one working ok)
Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -
Re: Help! Bug in my app!
Not certain (as I haven't actually tried) but I think simply checking the "Do not filter" check box for the fields concerned in your Appgini setup will achieve the desired result?