From 8bb7769cad1d9be8c2b8b6a3412bb5f5ede171bd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Mar 2017 15:52:03 -0300 Subject: [PATCH] Bug 4969: Do not display the new link if we are seeing all baskets of a given vendor Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 18d6654770..02eda130fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -88,7 +88,9 @@ $(document).ready(function() { [% ELSE %] Show all baskets [% END %] - | Show active vendors onlyShow all vendors + [% UNLESS booksellerid %] + | Show active vendors onlyShow all vendors + [% END %]
[% FOREACH supplier IN loop_suppliers %] [% IF ( supplier.active ) %] -- 2.39.5