Bug 10936: remove duplicate 'Standard number' option in Advanced search
authorJesse Maseto <jesse@bywatersolutions.com>
Fri, 28 Mar 2014 15:02:18 +0000 (11:02 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 22 May 2014 21:45:19 +0000 (21:45 +0000)
This patch removes the duplicate 'Standard number' option
under the more options of the OPAC advanced search correctly
following updates from Katrin.

TEST PLAN
---------
1) Set opacthemes system preference to bootstrap
2) In OPAC, click 'Advanced search'
3) Click 'More options'
4) Check the Keywords dropdown for duplicate 'Standard number'
5) Apply patch
6) Refresh page, and make sure 'More options' is clicked still
7) Check the Keywords dropdown for duplicate 'Standard number'
   -- it's not this time.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt

index c55eccc..d9b2d4b 100644 (file)
@@ -84,7 +84,6 @@
                                             [% ELSE %]
                                                 <option value="sn">Standard number</option>
                                             [% END %]
-                                            <option value="sn">Standard number</option>
                                             <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
                                             <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
                                             [% IF ( numbersphr) %]
     });
     //]]>
 </script>
-[% END %]
\ No newline at end of file
+[% END %]