Make item_barcode_shortcut load user bookbags in EGCatLoader::Search.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 25 Jul 2012 15:03:01 +0000 (11:03 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 22 Aug 2012 19:37:23 +0000 (15:37 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm

index 9c14242..cfe8853 100644 (file)
@@ -578,6 +578,8 @@ sub item_barcode_shortcut {
         $self->ctx->{search_facets} = {};
         $self->ctx->{hit_count} = scalar @data;
         $self->ctx->{page_size} = $self->ctx->{hit_count};
+        # load temporary_list settings for user and ou:
+        $self->_load_lists_and_settings if ($self->ctx->{user});
 
         return Apache2::Const::OK;
     } {