]> 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)
committerJason Etheridge <jason@EquinoxOLI.org>
Fri, 13 Aug 2021 20:32:55 +0000 (16:32 -0400)
commitefdf28d789eabf616ca5284014d605b8757f6576
treec8237cf8a1e7abd0932fe5d5acda8d41b1efe0bf
parent76b877dcb9e5e50d83f238261c143f8448611916
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>
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