From 83a923e11a97f5328ce6b0715c4e86069c7861e0 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 21 Feb 2015 19:22:33 +0100 Subject: [PATCH] Bug 10971: Hide EAN search for MARC21 / template corrections This patch hides the EAN filter on the page for ordering from a subscription when the marcflavour is not UNIMARC as it will only work for this flavour currently. It also corrects - branch to library - supplier to vendor - the library code in the result list to the branch name To test: - Make sure you have a subscription, not the vendor - Create a new basket for the subscription vendor - Choose 'from a subscription' to create your order line - Look at the filters on the left side, switch the marcflavour system preference to see change for the EAN filter - Verify changes Signed-off-by: Brendan Gallagher Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/includes/subscriptions-search.inc | 6 ++++-- .../prog/en/modules/acqui/newordersubscription.tt | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc index db65f93378..4f6f1caed1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc @@ -12,20 +12,22 @@ + [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
  • + [% END %]
  • - +
  • - +