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

Evergreen Git git at git.evergreen-ils.org
Tue Nov 7 16:43:22 EST 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  cfb7979c77c1d5184fc2b3660580022c8cbdd98d (commit)
       via  0e326b361a89a194fdd48aedca7f7f32d9bcff44 (commit)
      from  dfdd5a6d2e7de390e9c72cf96be79ac450356567 (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 cfb7979c77c1d5184fc2b3660580022c8cbdd98d
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Tue Nov 7 16:41:02 2017 -0500

    LP#1346381: Release notes for new shelving location limiter behavior
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/copy_location_filter_changes.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/copy_location_filter_changes.adoc
new file mode 100644
index 0000000..f2d6964
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/copy_location_filter_changes.adoc
@@ -0,0 +1,9 @@
+Copy Location Filter Displays for System Searches
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The Shelving Location filter now displays on the advanced search page when
+a search is scoped to a library system, not just to an individual branch. If
+a library system is selected as the Search Library, the shelving location
+limiter will display any shelving location that is owned by the selected system
+or by the consortium. It will NOT display shelving locations owned by child
+branches.
+

commit 0e326b361a89a194fdd48aedca7f7f32d9bcff44
Author: Rogan Hamby <rogan.hamby at gmail.com>
Date:   Mon Jun 12 13:41:02 2017 -0400

    LP#1346381: remove searching child org units, requirement to have volumes and adds existing org unit
    
    Signed-off-by: Rogan Hamby <rogan.hamby at gmail.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/web/js/ui/default/opac/copyloc.js b/Open-ILS/web/js/ui/default/opac/copyloc.js
index ddd1a5c..08023d6 100644
--- a/Open-ILS/web/js/ui/default/opac/copyloc.js
+++ b/Open-ILS/web/js/ui/default/opac/copyloc.js
@@ -10,11 +10,6 @@ function apply_adv_copy_locations() {
     var selected_id = sel.options[sel.selectedIndex].getAttribute('value');
     var org_unit = aou_hash[selected_id];
 
-    if (org_unit.can_have_vols != 't') {
-        dojo.addClass('adv_chunk_copy_location', 'hidden');
-        return;
-    }
-
     var display_orgs = [];
 
     // we want to display copy locations at the selected org,
@@ -34,7 +29,7 @@ function apply_adv_copy_locations() {
         collect_parent_orgs(aou_hash[org_id].parent_ou);
     }
 
-    collect_child_orgs(org_unit.id);
+    display_orgs.push(org_unit.id);
     collect_parent_orgs(org_unit.parent_ou);
     fetch_adv_copy_locations(display_orgs);
 }

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

Summary of changes:
 Open-ILS/web/js/ui/default/opac/copyloc.js         |    7 +------
 .../OPAC/copy_location_filter_changes.adoc         |    9 +++++++++
 2 files changed, 10 insertions(+), 6 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/copy_location_filter_changes.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list