]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1662541: several new subject browse index definitions
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 17 Feb 2017 21:40:02 +0000 (16:40 -0500)
committerKathy Lussier <klussier@masslnc.org>
Sun, 19 Feb 2017 15:56:15 +0000 (10:56 -0500)
commit2e0e3feba72d2d871fb12e02a2725de46353bcba
tree2bfb41546e73041cab989502a68d55ac420c84c8
parent5757ab093599b0f98b178dc879032f555fc8f878
LP#1662541: several new subject browse index definitions

This patch adds several config.metabib_field definitions
that are specifically for subject browses:

subject / topic_browse
subject / geographic_browse
subject / temporal_browse

These new definitions index the entire heading as a unit,
so a heading like this:

=650 \0$aCats$zUnited States$vCorrespondence.

will end up in the subject/topic_browse index as a single
entry for

Cats -- United States -- Correspondence

rather than separate browse entries for "Cats" as a subject/topic,
and "United States" as a subject/geographic.

Since the new *_browse indexes are meant to replace the browse
functions of the existing subject/topic, subject/geographic, and
subject/temporal indexes, the browse flag is turned off for the
older definitions.

This patch intentionally does not include an entry for subject/name_browse,
as additional coding would be required to get the display form of the
heading to be punctuated correctly.

To test
-------
[1] After applying the patch, perform subject browses in the
    OPAC and staff interfaces and verify that fully composed
    headings from bib records are now displayed as browse entries.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.subject_browse.sql [new file with mode: 0644]