Fixes the issue with the screen not showing lists after adding items
to an existing list from a basket.
To test:
Create a list in the Bootstrap Opac.
Add some items to a basket. Select Add Basket to Saved List, and send
the items to the list that was just created. Notice on the list page
after the items have been added that you can no longer see any existing
list names. The screen displays '...From Basket'
Apply the patch.
Add some more items from a basket into the list. The existing list
names are displayed after the items are sent to the existing list.
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
</table>
</form>
- [% IF CGI.param('from_basket'); %]
+ [% IF (CGI.param('from_basket') && ctx.mylist.size) %]
<h3>[% l("... from basket") %]</h3>
[% INCLUDE "opac/parts/anon_list.tt2" %]
[% ELSE %]