From 912f8eedace50ea5a17e031aec6a836a6251bd29 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 --- .../intranet-tmpl/prog/en/includes/subscriptions-search.inc | 6 ++++-- .../intranet-tmpl/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 db65f93..4f6f1ca 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 %]
  • - +
  • - +