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)
committerKathy Lussier <klussier@masslnc.org>
Fri, 1 Sep 2017 19:43:28 +0000 (15:43 -0400)
commitcd2b70d9d594c56c467f87851ae9ca5954d206b7
treeb05c11ee246ccf31f973953e04eab68f85b7cc52
parent1f3fd685901655019dd98e3d9dddb79345ce6cac
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.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>
Signed-off-by: Kathy Lussier <klussier@masslnc.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]