From 33010595113b5ec279f93b1127d20b466e1ea023 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Sep 2018 15:56:44 -0700 Subject: [PATCH] Bug 21297: Display public lists to existing lists when adding a new item If there are no private lists the public lists are not displayed. Test plan: 1) Add 10 public lists (This is when the 'More lists' menu item becomes view-able) 2) Select an item 3) Click Add to list 4) Select 'More Lists' menu item 5) Note that 'Select an existing list' is an available option Signed-off-by: Caroline Cyr La Rose Signed-off-by: Julian Maurice Signed-off-by: Nick Clemens --- .../prog/en/modules/virtualshelves/addbybiblionumber.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt index 3377990cb8..898a8b3d0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt @@ -35,7 +35,7 @@ [% UNLESS ( shelfnumber ) %] [% UNLESS ( newshelf ) %] - [% IF ( private_shelves.count ) %] + [% IF private_shelves.count OR public_shelves.count OR private_shelves_shared_with_me.count %]
Select an existing list
    -- 2.39.5