Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Browse Screen: No search results

Questions related to using nuBuilder Forte.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Browse Screen: No search results

Unread post by kev1n »

Hi Steven,

Gerese reported a bug in the Browse Screen.

1. Search for any string on page 1. Result: OK
2. Go to page 2
3. Search again.
4. No results!

You can see that behaviour in any Browse Screen.
browse_search_no_result.gif
I figured out that the bug was introduced with this change
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Browse Screen: No search results

Unread post by admin »

kev1n,

I have put your changes on Github.

Thanks.

Please test it again.


Steven
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Browse Screen: No search results

Unread post by kev1n »

Thanks for that!
However, gerese just reported a new issue that is caused by the fix.
I'm not sure how to address that.
With the modified "nuSearchAction" function I encounter the following problem:
if the searched word has 2 or more results pages, you cannot go to the second results page.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Browse Screen: No search results

Unread post by admin »

I have reversed those changes.

Steven
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Browse Screen: No search results

Unread post by kev1n »

Steven,

Do you have an idea what could be causing this behaviour?
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Browse Screen: No search results

Unread post by gerese »

Hi Steven,
The search function in nuBuilder is very important to me.
I happen to look for a record, but after scrolling through 2 screens I find that it is easier to enter a search word ... but surprise nuBuilder does not find results.
I have attached an example.
Thanks Steven.
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Browse Screen: No search results

Unread post by admin »

Hello people,

The fix is now on Github.

Please test it.


Steven
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Browse Screen: No search results

Unread post by gerese »

Work now, Steven.
Many thanks :D
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Browse Screen: No search results

Unread post by admin »

Cool.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Browse Screen: No search results

Unread post by kev1n »

There's still an issue when using nuSearchAction() and passing an argument while being on page > 1

1. Add an action button: nuAddActionButton('filterDisplay', 'Show Only Display', 'nuSearchAction("display", "")');
2. Go to any page > 1
3. Hit the action button
4. --> No Results!


View in full screen
filter.gif
Edit: If you don't pass a 2nd parameter, it works:

Code: Select all

nuAddActionButton('filterDisplay', 'Show Only Display', 'nuSearchAction("display")');
But this doesn't:

Code: Select all

nuAddActionButton('filterDisplay', 'Show Only Display', 'nuSearchAction("", "display")');
You do not have the required permissions to view the files attached to this post.
Last edited by kev1n on Mon Sep 14, 2020 6:37 am, edited 1 time in total.
Post Reply