From 7f4a6a7aad8c5d46ea85a9670cd38415a195b20e Mon Sep 17 00:00:00 2001 From: Caitlin Goodger Date: Thu, 19 Jan 2017 20:25:50 +0000 Subject: [PATCH] Bug 17886 Don't show option to add to existing list if there are no lists Test Plan 1: Make sure that you don't have any lists and then add a Bibliographical Record to a list in OPAC 2: You should see that you can add it to an existing list even though you don't have one. 3: Apply patch 4: Add a Bibliographical record in OPAC and if you don't have a list then you shouldn't see the add to existing list. 5: Create a list and then add a Bibiographical Record in OPAC and you should see the add to existing list --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt index 164c750..066b297 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt @@ -11,6 +11,7 @@
[% IF ( authorized ) %] [% UNLESS ( newshelf ) %] + [% IF ( private_shelves.count) %] [% IF ( multiple ) %]

Add [% total %] items to [% IF ( singleshelf ) %][% shelfname | html %]: [% ELSE %]a list:[% END %]

[% ELSE %] @@ -55,6 +56,7 @@

...or...

+ [% END %] [% ELSE %] [% IF ( singleshelf ) %]
-- 2.1.4