[open-ils-commits] [GIT] Evergreen ILS branch master updated. b923c88f558adfa579b6dda6b8bd0c0b9ca98c4a

Evergreen Git git at git.evergreen-ils.org
Wed Jul 19 11:00:44 EDT 2017


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, master has been updated
       via  b923c88f558adfa579b6dda6b8bd0c0b9ca98c4a (commit)
       via  7c55d3d1934dca110c1710c3f5ca67012789a61c (commit)
      from  c3be47804ad1a2c51452a3de6aca9179b9c4c689 (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 b923c88f558adfa579b6dda6b8bd0c0b9ca98c4a
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Wed Jul 19 11:12:29 2017 -0400

    LP#1669907: add comment about underlying cause of the bug
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
index 17eb562..e71f74f 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
@@ -1514,6 +1514,10 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
         ).then(
             function(hold_data) {
                 hold_ids = []; // clear the list of ids, hack to avoid dups
+                // TODO: fix the underlying problem, which is that
+                // this gets called twice when switching to the holds
+                // tab; once explicitly, and once via the change handler
+                // on the OU selector
                 angular.forEach(hold_data, function(list, type) {
                     hold_ids = hold_ids.concat(list);
                 });

commit 7c55d3d1934dca110c1710c3f5ca67012789a61c
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Mon Jun 26 12:25:06 2017 -0400

    LP#1669907: Web Staff Bib record Holds View dups
    
    In the webstaff client, switching from the View Holds tab
    to the OPAC View and back would result in the list of hold
    requests getting duplicated.
    
    This patch fixes the problem.
    
    Caching of tab data is explicitly not being done ATM,
    so this takes care of the issue for now.
    
    Signed-off-by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
index c8471a9..17eb562 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
@@ -1513,6 +1513,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
             {pickup_lib : egCore.org.descendants($scope.pickup_ou.id(), true)}
         ).then(
             function(hold_data) {
+                hold_ids = []; // clear the list of ids, hack to avoid dups
                 angular.forEach(hold_data, function(list, type) {
                     hold_ids = hold_ids.concat(list);
                 });

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

Summary of changes:
 .../web/js/ui/default/staff/cat/catalog/app.js     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list