LP#1067823: Genre links launch subject search
authorMike Rylander <mrylander@gmail.com>
Thu, 15 Oct 2015 21:20:07 +0000 (17:20 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 17 Feb 2016 15:49:42 +0000 (10:49 -0500)
commitc064522d82713e5001d081111c08e1d655bc9592
treeed886c1cc0a4854fdd9a7d426316ceaed661e4fe
parent05e9a0825c0e5d8909e0d92697725de97ecc6281
LP#1067823: Genre links launch subject search

And genres are not subjects.  So now we will index genres in the identifier
class and teach the tpac to build links appropriately.  Genre is herein
defined as data in tags 655 or 659 (as the tpac currently thinks), restricted
to subfields [abvxyz], per LoC documentation.

To test:

[1] Apply the update and run the partial reingest as suggested
    by the upgrade script.
[2] In the public catalog, navigate to a record that has one
    or more 655 fields.  Click on one of the genre links and
    verify that it retrieves records sharing that genre heading.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Andrea Neiman <aneiman@kent.lib.md.us>
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.genre-indexing.sql [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/subjects.tt2