]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1358392: See references not always displaying on browse search
authorSrey Seng <sreyseng@gmail.com>
Fri, 5 Sep 2014 21:28:07 +0000 (14:28 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 1 Sep 2017 02:42:58 +0000 (22:42 -0400)
commiteff6593de01c1e09d9eb8bfe8429b2922e9f2195
treeb4afca9533678943d422adcdd09d6c68225b3f90
parentce26598f56e076808492d44e12f36852e3f1fcb1
LP#1358392: See references not always displaying on browse search

When browsing for an unauthorized heading, See references are not always
displaying on browse search. Those that do display surface due to the
existence of cross-reference(s).

Desired behaviour is that unauthorized headings should also surface in browse
results, even without the existence of cross-reference(s), as long as the
authority record containing the unauthorized heading controls at least one bib.
There are many authority records that do not have cross-references but do contain
unauthorized headings, so browse results that would otherwise be hidden would now
be exposed.

This fix adds an additional logic to check if the browse term is an
unauthorized term and if so, perform a slightly modified procedure
but otherwise, perform the usual procedure so as not to break any existing
functionality.

Signed-off-by: Srey Seng <sreyseng@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/src/sql/Pg/030.schema.metabib.sql

Rebased to account for eliminated staged search work.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.metabib.staged_browse.sql [new file with mode: 0644]