From 49797f77cb82dbba5748fde3138ea61d7ac97dd5 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 (cherry picked from commit 33010595113b5ec279f93b1127d20b466e1ea023) Signed-off-by: Martin Renvoize (cherry picked from commit 5d677af3b4b5095145c359f69f6304f24fe2d590) Signed-off-by: Fridolin Somers --- .../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 bb5b9c19a0..5e20b29644 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt @@ -37,7 +37,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