LP#1489955: enable filtering authority search/browse by thesaurus
authorGalen Charlton <gmc@esilibrary.com>
Fri, 28 Aug 2015 21:18:04 +0000 (21:18 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 28 Aug 2015 21:54:18 +0000 (21:54 +0000)
commit809a22e22d2020aca0d6e3863f8cdbbd110fce07
tree2cf6e464ccc1612fd5cab92ddbe42bc1ce11c205
parent8330eed28cedcb6aeb5c47ce21f9c6465c272a81
LP#1489955: enable filtering authority search/browse by thesaurus

This patch adds support for restricting the scope of an
authority headings browse or authority record search by
thesaurus.  For example, in SuperCat, the URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20

generates returns a browse of up to 20 authority records
centered around the subject heading "heart".  With this patch,
the URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20/c

restricts the browse to MeSH headings. Multiple thesauruses
can be specified as well; for example, this URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20/a,b

browses in LCSH and LC Children's.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/authority.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
Open-ILS/src/sql/Pg/011.schema.authority.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.filter_authority_browse_search_by_thesaurus.sql [new file with mode: 0644]