d2cd2e09aa
When working with hierarchical subject headings, it is sometimes helpful to do a search for all records with a specific subject, plus broader/narrower/related subjects. This patch adds a suggestion plugin for these "exploded" subject searches to Koha. Note that this patch depends on both bug 8211 AND bug 8209. To test (NOTE: this test plan covers both 8211 and 8726): 1) Make sure you have a bunch of hierarchical subjects. I created geographical subjects for "Arizona," "United States," and "Phoenix," and linked them together using 551s, and made sure I had a half dozen records linking to each (but not all to all three). 2) Do a search for su-br:Arizona (or choose "Subject and broader terms" on the advanced search screen with "more options" displayed), and check that you get the records with the subject "Arizona" and the records with the subject "United States" 3) Do a search for su-na:Arizona (or choose "Subject and narrower terms" on the advanced search screen with "more options" displayed), and check that you get the records with the subject "Arizona" and the records with the subject "Phoenix" 4) Do a search for su-rl:Arizona (or choose "Subject and related terms" on the advanced search screen with "more options" displayed), and check that you get the records with the subject "Arizona," the records with the subject "United States," and the records with the subject "Phoenix" 5) Ensure that other searches still work (keyword, subject, ccl, whatever) 6) Use "Did you mean?" page in admin section to enable ExplodedTerms plugin 7) Do a keyword search on the OPAC, confirm that searching for exploded terms is suggested. 8) Do a subject search on the OPAC, confirm that searching for exploded terms is suggested. 9) Do a non-keyword, non-subject search on the OPAC, confirm that searching for exploded terms is NOT suggested. 10) Disable ExplodedTerms plugin and enable AuthorityFile plugin. 11) Do search on OPAC, confirm suggestions are made from authority file. 12) Sign off Signed-off-by: wajasu <matted-34813@mypacks.net> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Split into two patches. This patch includes only the functionality.
68 lines
2.8 KiB
HTML
68 lines
2.8 KiB
HTML
<script type="text/javascript">//<![CDATA[
|
|
$(document).ready(function() {
|
|
var path = location.pathname.substring(1);
|
|
var url = window.location.toString();
|
|
var params = '';
|
|
if ( url.match(/\?(.+)$/) ) {
|
|
params = "?" + RegExp.$1;
|
|
}
|
|
$('#navmenulist a[href$="/' + path + params + '"]').css('font-weight','bold');
|
|
});
|
|
//]]>
|
|
</script>
|
|
<div id="navmenu">
|
|
<div id="navmenulist">
|
|
<h5>System preferences</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
|
|
</ul>
|
|
|
|
<h5>Basic parameters</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/branches.pl">Libraries and groups</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
|
|
</ul>
|
|
|
|
<h5>Patrons and circulation</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/categorie.pl">Patron types and categories</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/roadtype.pl">Road types</a></li>
|
|
</ul>
|
|
|
|
<h5>Catalog</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/fieldmapping.pl">Keywords to MARC mapping</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
|
|
</ul>
|
|
|
|
<h5>Acquisition parameters</h5>
|
|
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
|
|
|
</ul>
|
|
|
|
<h5>Additional parameters</h5>
|
|
|
|
<ul>
|
|
[% IF ( NoZebra ) %]<li><a href="/cgi-bin/koha/admin/stopwords.pl">Stop words</a></li>[% END %]
|
|
<!-- <li><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></li> -->
|
|
<li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50 client targets</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|