Help! Bug in my app!

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Help! Bug in my app!

Post by TheNoLifer » 2015-06-27 01:35

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.
boyd_search.PNG
boyd_search.PNG (14.66 KiB) Viewed 5526 times
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

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Re: Help! Bug in my app!

Post by TheNoLifer » 2015-06-27 02:00

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?

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Re: Help! Bug in my app!

Post by TheNoLifer » 2015-06-27 02:08

Fixed.

Commented out the relevant "fields that can be quick searched" lines in <YOURTABLE>_view.php

Well, this thread was awesome.

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Help! Bug in my app!

Post by SkayyHH » 2015-06-27 20:17

Yes, but things like this should be an option in the appgini ide. Appgini wil overwrite your files when generating.

Best regards, Kai

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Re: Help! Bug in my app!

Post by TheNoLifer » 2015-06-28 17:59

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.

User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

Re: Help! Bug in my app!

Post by shasta59 » 2015-06-29 02:27

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
Calgary, Alberta, Canada - Using Appgini 5.50 -

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 352
Joined: 2013-03-21 04:37

Re: Help! Bug in my app!

Post by peebee » 2015-07-01 02:39

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?
screenshot100.jpg
Do not filter
screenshot100.jpg (100.09 KiB) Viewed 5474 times

Post Reply