[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 46b9c4f0bf66df57da7e45e0606d1ac1d6a26ada

Evergreen Git git at git.evergreen-ils.org
Fri Aug 19 13:31:35 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_10 has been updated
       via  46b9c4f0bf66df57da7e45e0606d1ac1d6a26ada (commit)
      from  172b2317d6fc11685cc6a2ca7ac5fddb9a1b4f97 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 46b9c4f0bf66df57da7e45e0606d1ac1d6a26ada
Author: Bill Erickson <berickxx at gmail.com>
Date:   Fri Aug 19 11:41:14 2016 -0400

    LP#1615025 TPAC large circ history sort repair
    
    Fix TPAC circ history retrieval code thinko so that history rows are
    retrieved one at a time instead of in a batch (.atomic) to avoid
    overwhelming Ejabberd.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
index 945c9f2..1219b70 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
@@ -1623,15 +1623,17 @@ sub fetch_user_circ_history {
     );
 
     $e->xact_begin;
-    my $circs = $e->search_action_user_circ_history([
-        {usr => $e->requestor->id},
-        {   # order newest to oldest by default
-            order_by => {auch => 'xact_start DESC'},
-            $flesh ? %flesh_ops : (),
-            %limits
-        },
+    my $circs = $e->search_action_user_circ_history(
+        [
+            {usr => $e->requestor->id},
+            {   # order newest to oldest by default
+                order_by => {auch => 'xact_start DESC'},
+                $flesh ? %flesh_ops : (),
+                %limits
+            }
+        ],
         {substream => 1}
-    ]);
+    );
     $e->rollback;
 
     return $circs unless $flesh;

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/WWW/EGCatLoader/Account.pm         |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list