[open-ils-commits] r10434 - in branches/rel_1_2/Open-ILS: src/perlmods/OpenILS/Application web/opac/extras/selfcheck

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Aug 25 09:19:57 EDT 2008


Author: erickson
Date: 2008-08-25 09:19:56 -0400 (Mon, 25 Aug 2008)
New Revision: 10434

Modified:
   branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
   branches/rel_1_2/Open-ILS/web/opac/extras/selfcheck/selfcheck_print.css
Log:
add a page break after the print div.  use storage instead of cstore for fetching hours of operation

Modified: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2008-08-25 13:19:32 UTC (rev 10433)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2008-08-25 13:19:56 UTC (rev 10434)
@@ -3066,7 +3066,10 @@
     my $e = new_editor(authtoken => $auth);
 	return $e->die_event unless $e->checkauth;
     $org_id ||= $e->requestor->ws_ou;
-    return $e->retrieve_actor_org_unit_hours_of_operation($org_id);
+    # use storage for <1.4 to avoid timezone issues with cstore
+    return $U->storagereq(
+        'open-ils.storage.direct.actor.org_unit.hours_of_operation.retrieve', $org_id);
+    #return $e->retrieve_actor_org_unit_hours_of_operation($org_id);
 }
 
 

Modified: branches/rel_1_2/Open-ILS/web/opac/extras/selfcheck/selfcheck_print.css
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/extras/selfcheck/selfcheck_print.css	2008-08-25 13:19:32 UTC (rev 10433)
+++ branches/rel_1_2/Open-ILS/web/opac/extras/selfcheck/selfcheck_print.css	2008-08-25 13:19:56 UTC (rev 10434)
@@ -10,6 +10,7 @@
     color: black;
     font-family: Arial;
     background-color: white;
+    page-break-after: always;
 }
 #selfck-print-patron-info { font-size: 8pt; }
 



More information about the open-ils-commits mailing list