Bug 10971: Hide EAN search for MARC21 / template corrections
commit83a923e11a97f5328ce6b0715c4e86069c7861e0
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 21 Feb 2015 18:22:33 +0000 (21 19:22 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 24 Apr 2015 23:14:52 +0000 (24 20:14 -0300)
tree66657948d311e5cd519c6a14e39805901c3752fd
parentb7e2bb67376f2bed8cf68800a7ad209d194dcf7c
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 <brendan@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt