]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1912852: add jump-on-one-hit support to Angular staff catalog
authorGalen Charlton <gmc@equinoxOLI.org>
Tue, 13 Jul 2021 14:11:29 +0000 (10:11 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 13 Aug 2021 21:57:43 +0000 (17:57 -0400)
commit13cb905cc15dbf8413ad142b72c069462e6f47f6
tree95a00330ab4c4937b7c104c1a651b828f7764935
parent5e9974b4d594852878f920141356da254846f3b1
LP#1912852: add jump-on-one-hit support to Angular staff catalog

This patch add support for the opac.staff.jump_to_details_on_single_hit
library setting to the Angular staff catalog.

To test
-------
[1] Apply the patch.
[2] Ensure that the opac.staff.jump_to_details_on_single_hit setting
    is off for your workstation.
[3] Perform searches using the Angular staff catalog. Verifying that
    searches that return any number of results display them on the
    results page.
[4] Set the library setting to true and reload the staff catalog.
[5] Perform keyword, numeric, and MARC searches using terms that
    result in a single-record result set. Verify that the interface
    redirects to the single-record page for that hit.
[6] Perform searches that would return zero results. Verify that
    the results page indicates zero hits fuond.
[7] Perform searches that would return more than one result. Verify
    that the results are displayed on the results page.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/resolver.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts