| Summary: | (Bug 30098 follow-up) Broken patron search redirect when one result | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
| Component: | Patrons | Assignee: | Fridolin Somers <fridolin.somers> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | andrew, gmcharlt, jonathan.druart, kyle |
| Version: | Main | Keywords: | regression |
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
22.05.00,21.11.05
|
|
| Circulation function: | |||
| Bug Depends on: | 30098 | ||
| Bug Blocks: | |||
| Attachments: |
Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result
Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result |
||
|
Description
Fridolin Somers
2022-03-21 22:16:53 UTC
Created attachment 131993 [details] [review] Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result Bug 30098 fixed patron search behavior when a later page has only 1 result, but broke the redirect when there is only a single result from search. 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 - On third page you remain in results and are not redirected 4 - Perform a patron search that return only 1 result, name or cardnumber 5 - You get redirected to this patron page Created attachment 132008 [details] [review] Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result Bug 30098 fixed patron search behavior when a later page has only 1 result, but broke the redirect when there is only a single result from search. 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 - On third page you remain in results and are not redirected 4 - Perform a patron search that return only 1 result, name or cardnumber 5 - You get redirected to this patron page Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 132015 [details] [review] Bug 30325: (Bug 30098 follow-up) Fix broken patron search redirect when one result Bug 30098 fixed patron search behavior when a later page has only 1 result, but broke the redirect when there is only a single result from search. 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 - On third page you remain in results and are not redirected 4 - Perform a patron search that return only 1 result, name or cardnumber 5 - You get redirected to this patron page Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 22.05, thanks to everybody involved [U+1F984] Pushed to 21.11.x for 21.11.05 |