From 3c7c2e20b8ed8251af6cdcdf7df058a6455c66ac Mon Sep 17 00:00:00 2001 From: Meenakshi.R <meenakshi.r@osslabs.biz> Date: Wed, 12 Sep 2012 11:01:21 +0530 Subject: [PATCH] [SIGNED-OFF] Bug 8302 - Add accesssion number(barcode) to the drop down list in OPAC Search. Content-Type: text/plain; charset="utf-8" Files Modified: i)koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc: Test cases: i)select Barcode in drop down list and enter a exist barcode, check the results. ii)select Barcode in drop down list and enter a non-exist barcode, check the results. Signed-off-by: Marc Veron <veron@veron.ch> Works as expected. --- koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 3f661ad..4d006c7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -70,6 +70,11 @@ <option selected="selected" value="callnum">Call number</option> [% ELSE %] <option value="callnum">Call number</option> + [% END %] + [% IF ( ms_bc ) %] + <option selected="selected" value="bc">Barcode</option> + [% ELSE %] + <option value="bc">Barcode</option> [% END %]</select> [% IF ( ms_value ) %] <input type="text" id = "transl1" name="q" value="[% ms_value |html %]" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div> -- 1.7.2.5