From: Galen Charlton Date: Fri, 15 Jun 2018 19:43:00 +0000 (-0400) Subject: ensure that cart has access to list of bookbags X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b262590d8ccc217a5720b403b1ac2a2e23397a62;p=working%2FEvergreen.git ensure that cart has access to list of bookbags (when user is logged in) --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm index 5ff10dea28..ae7df1eecd 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm @@ -391,6 +391,12 @@ sub load_mylist { (undef, $self->ctx->{mylist}, $self->ctx->{mylist_marc_xml}) = $self->fetch_mylist(1); + # get list of bookbags in case user wants to move cart contents to + # one + if ($self->ctx->{user}) { + $self->_load_lists_and_settings; + } + return Apache2::Const::OK; }