From 2aea89079d449cd9d8eb3d7b4d5fa1da958eb51c Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Fri, 20 Dec 2013 12:58:50 -0500 Subject: [PATCH] Bug fix to recognize user's default pickup library for holds when they are logged in. Conflicts: Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm index 32e394b594..658d1dea5d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm @@ -80,6 +80,8 @@ sub load_getit { return $self->save_item_to_bookbag($rec_id, $bbag_id) if $action eq 'save'; return $self->login_and_place_hold($rec_id) if $action eq 'hold'; + + # if the user is logged in, fetch his bookbags if ($ctx->{user}) { $ctx->{bookbags} = $self->editor->search_container_biblio_record_entry_bucket([ -- 2.11.0