From 80c089d77eb8760a2cb56bae91a9bc11ed8e0a36 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Mon, 14 Dec 2020 15:18:15 -0500 Subject: [PATCH] LP1907866 Bootstrap Opac: fix adding basket to existing List 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 Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 index a4e8d7ea29..fea676d60d 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -82,7 +82,7 @@ - [% IF CGI.param('from_basket'); %] + [% IF (CGI.param('from_basket') && ctx.mylist.size) %]

[% l("... from basket") %]

[% INCLUDE "opac/parts/anon_list.tt2" %] [% ELSE %] -- 2.11.0