Page 1 of 2
Browse Screen: No search results
Posted: Wed Aug 26, 2020 7:49 pm
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
Re: Browse Screen: No search results
Posted: Thu Aug 27, 2020 12:28 am
by admin
kev1n,
I have put your changes on Github.
Thanks.
Please test it again.
Steven
Re: Browse Screen: No search results
Posted: Thu Aug 27, 2020 12:34 am
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.
Re: Browse Screen: No search results
Posted: Thu Aug 27, 2020 1:08 am
by admin
I have reversed those changes.
Steven
Re: Browse Screen: No search results
Posted: Sat Aug 29, 2020 3:53 am
by kev1n
Steven,
Do you have an idea what could be causing this behaviour?
Re: Browse Screen: No search results
Posted: Wed Sep 09, 2020 5:33 pm
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.
Re: Browse Screen: No search results
Posted: Thu Sep 10, 2020 10:08 pm
by admin
Hello people,
The fix is now on Github.
Please test it.
Steven
Re: Browse Screen: No search results
Posted: Thu Sep 10, 2020 11:38 pm
by gerese
Work now, Steven.
Many thanks

Re: Browse Screen: No search results
Posted: Thu Sep 10, 2020 11:50 pm
by admin
Cool.
Re: Browse Screen: No search results
Posted: Fri Sep 11, 2020 6:23 am
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")');