tpac: minor code formatting
authorBill Erickson <berick@esilibrary.com>
Mon, 26 Mar 2012 19:32:08 +0000 (15:32 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:03:20 +0000 (15:03 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm

index b17ddd2..d758795 100644 (file)
@@ -65,15 +65,14 @@ sub load_getit {
 
     # if the user is logged in, fetch his bookbags
     if ($ctx->{user}) {
-        $ctx->{bookbags} = $self->editor->search_container_biblio_record_entry_bucket(
-            [{
-                    owner => $ctx->{user}->id, 
-                    btype => 'bookbag'
-                }, {
-                    order_by => {cbreb => 'name'},
-                    limit => $self->cgi->param('bbag_limit') || 100,
-            }],
-        );
+        $ctx->{bookbags} = $self->editor->search_container_biblio_record_entry_bucket([
+            {   owner => $ctx->{user}->id, 
+                btype => 'bookbag' 
+            }, 
+            {   order_by => {cbreb => 'name'},
+                limit => $self->cgi->param('bbag_limit') || 100 
+            }
+        ]);
     }
 
     $self->ctx->{page} = 'getit'; # repair the page