[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. 328ab0122963fe7a4259605997b2e9ae4966a012

Evergreen Git git at git.evergreen-ils.org
Mon Feb 18 13:47:47 EST 2019


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_3_2 has been updated
       via  328ab0122963fe7a4259605997b2e9ae4966a012 (commit)
       via  e4310f1f8575a9383eb45e1bd167bd8ab9506096 (commit)
      from  aec49df028acb2b1226ab208eb66a540eb983083 (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 328ab0122963fe7a4259605997b2e9ae4966a012
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Mon Dec 3 13:23:39 2018 -0500

    LP1799963: Adjust fix to Staff Default Adv Search
    
    By moving the only assignment to $scope.catalog_url inside
    an if(<url is advanced search>) then only the advanced search
    page can load in the opac. By adding a second assignment
    inside an else block all opac pages can load again.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    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 c8a1a365d0..7d525c5f43 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
@@ -1926,7 +1926,9 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
 
                 $scope.catalog_url = url;
             });
-        }
+        } else {
+            $scope.catalog_url = url;
+	}
 
     }
 

commit e4310f1f8575a9383eb45e1bd167bd8ab9506096
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Thu Oct 25 17:54:42 2018 -0400

    LP#1799963 - fix catalog advanced search type default
    
    Since eg.search.adv_pane is now a server stored WS setting
    it needed to be fetched with the proper way in order to work.
    
    Signed-off by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Angela Kilsdonk <akilsdonk at equinoxinitiative.org>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.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 422ebeb34d..c8a1a365d0 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
@@ -1919,13 +1919,15 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
         // whatever default pane the user has chosen via workstation
         // preference
         if (url.match(/\/opac\/advanced$/)) {
-            var adv_pane = egCore.hatch.getLocalItem('eg.search.adv_pane');
-            if (adv_pane) {
-                url += '?pane=' + encodeURIComponent(adv_pane);
-            }
+            egCore.hatch.getItem('eg.search.adv_pane').then(function(adv_pane_val){
+                if (adv_pane_val) {
+                    url += '?pane=' + encodeURIComponent(adv_pane_val);
+                }
+
+                $scope.catalog_url = url;
+            });
         }
 
-        $scope.catalog_url = url;
     }
 
     function init_parts_url() {

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

Summary of changes:
 Open-ILS/web/js/ui/default/staff/cat/catalog/app.js | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list