6dcd8f235f
This problem happens because there isn't a operator "phr" in the values of callnumber and standard number search. So many results aren't the corrects ones. Test plan: - Apply the patch - In the dropbox search menu of OPAC main page header, the callnum should have only callnum - In OPAC advanced search the callnumber and standard number options shouldn't have "phr" - In staff client advanced search the callnumber and standard number options shouldn't have "phr" - Change OPACNumbersPreferPhrase and IntranetNumbersPreferPhrase to "use" - The options listed before should use now the operator "phr" - This will resolve the problems with the searches of callnumbers and standard numbers in OPAC and staff client (spaces problems, no results, inconsistent results, etc...) Sponsored-by: KEEP SOLUTIONS Signed-off-by: Owen Leonard <oleonard@myacpl.org> I don't know how to reproduce the searching problems described in the bug, but I can confirm that the patch works correctly to enable/disable the use of 'phr' in the searches described in the test plan. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> System preferences work as described, switching indexes in OPAC and staff. All tests and QA script pass. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
44 lines
2.3 KiB
HTML
44 lines
2.3 KiB
HTML
<select class="advsearch" name="idx">
|
|
<option value="kw">Keyword</option>
|
|
<option value="au">Author</option>
|
|
<option value="au,phr"> Author as phrase</option>
|
|
<option value="cpn"> Corporate name</option>
|
|
<option value="cfn"> Conference name</option>
|
|
<option value="cpn,phr"> Corporate name as phrase</option>
|
|
<option value="cfn,phr"> Conference name as phrase</option>
|
|
<option value="pn"> Personal name</option>
|
|
<option value="pn,phr"> Personal name as phrase</option>
|
|
<option value="ti">Title</option>
|
|
<option value="ti,phr"> Title as phrase</option>
|
|
<option value="se"> Series title</option>
|
|
<option value="su">Subject</option>
|
|
<option value="su,phr"> Subject as phrase</option>
|
|
[% IF ( expanded_options ) %]
|
|
<option value="su-br"> Subject and broader terms</option>
|
|
<option value="su-na"> Subject and narrower terms</option>
|
|
<option value="su-rl"> Subject and related terms</option>
|
|
[% END %]
|
|
<option value="bc">Barcode</option>
|
|
<option value="location">Shelving location</option>
|
|
[% IF (numbersphr) %]
|
|
<option value="sn,phr">Standard number</option>
|
|
[% ELSE %]
|
|
<option value="sn">Standard number</option>
|
|
[% END %]
|
|
<option value="nb"> ISBN</option>
|
|
<option value="ns"> ISSN</option>
|
|
[% IF (numbersphr) %]
|
|
<option value="callnum,phr"> Call number</option>
|
|
[% ELSE %]
|
|
<option value="callnum"> Call number</option>
|
|
[% END %]
|
|
<option value="ln,rtrn">Language</option>
|
|
<option value="nt">Notes/Comments</option>
|
|
[% IF (marcflavour != 'UNIMARC' ) %]
|
|
<option value="curriculum">Curriculum</option>
|
|
[% END %]
|
|
<option value="pb">Publisher</option>
|
|
<option value="pl">Publisher location</option>
|
|
<option value="yr">Publication date (yyyy)</option>
|
|
<option value="acqdate">Acquisition date (yyyy-mm-dd)</option>
|
|
</select>
|