[Koha-bugs] [Bug 30098] Patron search redirects when one result on any page of results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 15 16:39:47 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30098

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130564|0                           |1
        is obsolete|                            |

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 130626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130626&action=edit
Bug 30098: ONly redirect from patron search if single result is on first page

This patch simply adds a check that we are oin the first page (starting at
result 0)
before redirecting to a isngle patron

To test:
1 - Perform a patron search that returns 41 results, on Koha testing docker,
'a' works
2 - Go to second page of results, works
3 - Go to third page of results, redirected to the patron
4 - Apply patch
5 - Repeat search and paging
6 - On third page you remian in results and are not redirected to patron

Signed-off-by: Emmanuel Bétemps <e.betemps at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list