LP#1485374: Use server timezone when exporting circ history
authorMike Rylander <mrylander@gmail.com>
Fri, 11 Sep 2015 15:24:26 +0000 (11:24 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 11 Sep 2015 15:24:26 +0000 (11:24 -0400)
As with current open circs, we will use the server timezone for exporting
circulation data in CSV format.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm

index 6af275f..c49000a 100644 (file)
@@ -2582,7 +2582,7 @@ sub load_myopac_circ_history_export {
     $self->ctx->{csv} = $U->fire_object_event(
         undef, 
         'circ.format.history.csv',
-        $e->search_action_circulation({id => [map {$_->{id}} @$ids]}, {substream =>1}),
+        $e->search_action_circulation({id => [map {$_->{id}} @$ids]}, {substream =>1, no_tz => 1}),
         $self->editor->requestor->home_ou
     );