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

Nick Clemens <[email protected]> changed:

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

--- Comment #12 from Nick Clemens <[email protected]> ---
Created attachment 164215
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164215&action=edit
Bug 35728: Add ability to NOT redirect to result when search returns only one
record

This enhancement adds a new system preference RedirectToSoleResult. By default
it is enabled, which matches current behaviour - to redirect to the detail page
if it is the only search result.

To test:

1) Apply the patch, install database updates, restart services.
2) Go to Koha Administration -> Global system preferences. The
RedirectToSoleResult system preference is in the Searching tab. Confirm it is
enabled (set to "Redirect") by default.
3) Conduct a catalogue search on the staff interface that you know will return
a single result. Confirm you are redirected to the detail page.
4) Do the same search on the OPAC. Confirm you are redirected to the detail
page.
5) Go back to the system preferences and disable the RedirectToSoleResult
system preference by setting it to "Don't redirect"
6) Do the searches again on the staff interface and OPAC. Confirm you are NOT
redirected to the detail page, and the search results page shows as expected.

Sponsored-by: Education Services Australia SCIS
Signed-off-by: David Nind <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to