LP#1783440: adding UPC to numeric search types in advanced search
authorRogan Hamby <rogan.hamby@gmail.com>
Wed, 25 Jul 2018 12:38:11 +0000 (08:38 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 13 Nov 2018 15:56:42 +0000 (10:56 -0500)
To test
-------
[1] Go the Advanced Search page in the public catalog, then to the
    Numeric Search tab.
[2] Search on a UPC value (e.g., in Concerto, "883929159529").
[3] Verify that a hit is retrieved.

Signed-off-by: Rogan Hamby <rhamby@equinoxinitiative.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/src/templates/opac/parts/advanced/numeric.tt2

index f768c10..9cc197a 100644 (file)
@@ -9,6 +9,7 @@
                 <select id="numeric_qtype" name="qtype">
                     <!-- TODO: Pull labels from config.metabib_field.label -->
                     <option value="identifier|isbn">[% l('ISBN') %]</option>
+                    <option value="identifier|upc">[% l('UPC') %]</option>
                     <option value="identifier|issn">[% l('ISSN') %]</option>
                     <option value="cnbrowse">[% l('Call Number (Shelf Browse)') %]</option>
                     <option value="identifier|lccn">[% l('LCCN') %]</option>