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 <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 3301059511)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5d677af3b4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2018-09-14 15:56:44 -07:00 committed by Fridolin Somers
parent a6f035e188
commit 49797f77cb
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]
<fieldset class="rows">
<legend>Select an existing list</legend>
<ol>