Page 1 of 1
Browse search empty
Posted: Thu Mar 29, 2018 4:40 am
by Timo
Something has puzzled me. Sometimes no results were displayed when searching a browse form, now I have found out why that is so. This only happens if you have previously navigated to another page with this page navigator at the buttom of a browse form.
As you see, I'm on page 2/9 when I start a search:
searchformempty.png
After clicking [Search], no results are shown.
searchempty2.PNG
You notice that Page 2/1 shown and that's why no results are visible. As a result, the first page should always be displayed during a search, otherwise it will be confusing.
Re: Browse search empty
Posted: Fri Mar 30, 2018 1:43 am
by admin
Timo,
Can you run nuCurrentProperties().browse_sql in the console to let me know the differences?
Steven
Re: Browse search empty
Posted: Fri Mar 30, 2018 5:49 am
by Timo
Hi, there is no difference as both search strings are the same. All that has to be done is to set the page to 1/1 after a new search operation. This will fix it.
Re: Browse search empty
Posted: Fri Mar 30, 2018 6:40 am
by admin
Timo,
I have fixed it on Github.
Let me know if it works for you now.
Steven
Re: Browse search empty
Posted: Fri Mar 30, 2018 9:05 am
by Timo
It's not fixed for me. It's easy to replicate the issue. Open up the Forms browse form, navigate to page 2, enter "blank" in the search field, hit enter. You see that no results are displayed as page 2/1 is shown at the bottom
Re: Browse search empty
Posted: Fri Mar 30, 2018 10:38 am
by admin
Timo,
OK, I've made another change.
Let me know if this works.
Steven
Re: Browse search empty
Posted: Fri Mar 30, 2018 2:20 pm
by Timo
I do confirm - it is fixed

Re: Browse search empty
Posted: Fri Mar 30, 2018 9:53 pm
by admin
thanks