OPAC: Make advanced search -> numeric search -> bib cn hone in on right target
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 Oct 2013 19:18:17 +0000 (15:18 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 7 Oct 2013 20:03:22 +0000 (16:03 -0400)
The bib call number search under the advanced search page's numeric
search pane was doing the wrong thing.  By thinking the search field
desired was called 'bib_cn' where it's actually called 'bibcn', it
generated searches that just fell back to the broader search class
'identifier'.  This would often find your matches, but would also find
too many records that *shouldn't* have been matches.

Discovered with help from Erica Rohlfs and Mike Rylander.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2

index d471308..9e27156 100644 (file)
@@ -8,7 +8,7 @@
                     <!-- TODO: Pull labels from config.metabib_field.label -->
                     <option value="identifier|isbn">[% l('ISBN') %]</option>
                     <option value="identifier|issn">[% l('ISSN') %]</option>
-                    <option value="identifier|bib_cn">[% l('Bib Call Number') %]</option>
+                    <option value="identifier|bibcn">[% l('Bib Call Number') %]</option>
                     <option value="cnbrowse">[% l('Call Number (Shelf Browse)') %]</option>
                     <option value="identifier|lccn">[% l('LCCN') %]</option>
                     <option value="identifier|tcn">[% l('TCN') %]</option>