From e67f26a5f34405060740bc21c5ca3a6397cbdfc1 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 27 Oct 2016 14:21:02 +0000 Subject: [PATCH] Bug 17374: Make use of fields from syspref 'DefaultPatronSearchFields' in patron search fields dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch preserves the current dropdown choices for patron search and adds fields from the DefaultPatronSearchFields system preference To test: 1 - View the regular patron search and note fields in dropdown 2 - Apply patch, ensure dropdown has not changed 3 - Add fields to DefaultPatronSearchFields, note they are available in dropdown 4 - Ensure existing and new fields search properly Signed-off-by: Marc VĂ©ron Signed-off-by: Katrin Fischer --- .../prog/en/includes/patron-search.inc | 62 ++++-------------- .../prog/en/includes/patronfields.inc | 74 ++++++++++++++++++++++ 2 files changed, 86 insertions(+), 50 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 4fbb927dd9..e528f52436 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -1,6 +1,7 @@ [% USE Koha %] [% USE Branches %] [% USE Categories %] +[% PROCESS 'patronfields.inc' %]

[% LibraryName %]