From fb073516db6686614005a51280034cc8ef8b69b1 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sat, 6 Apr 2019 11:25:01 +0000
Subject: [PATCH] Bug 22645: Add 'ISSN' sarch option to OPAC simple search pull
 down

To test:
- Apply patch
- Verify that the ISSN option shows up in the pull down
  for the simple search on top of the OPAC
- Search for an ISSN with the new search option
- Verify the correct search result shows

https://bugs.koha-community.org/show_bug.cgi?id=22645
---
 koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
index 9466c2d9c6..6aafa200a6 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -179,6 +179,11 @@
                                 [% ELSE %]
                                     <option value="nb">ISBN</option>
                                 [% END # /ms_nb%]
+                                [% IF ( ms_ns ) %]
+                                    <option selected="selected" value="ns">ISSN</option>
+                                [% ELSE %]
+                                    <option value="ns">ISSN</option>
+                                [% END # /ms_ns%]
                                 [% IF ( ms_se ) %]
                                     <option selected="selected" value="se">Series</option>
                                 [% ELSE %]
-- 
2.11.0