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

Evergreen Git git at git.evergreen-ils.org
Thu Sep 20 10:27:09 EDT 2018


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  5f4b487477d6504b91991c042441209e28c8c30b (commit)
      from  5876118b87d38fc2a48af176473fd14e2208c2ed (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 5f4b487477d6504b91991c042441209e28c8c30b
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Thu Sep 13 07:39:06 2018 -0400

    LP1792371: Fix De-select Whole Page Action
    
    When using the checkbox to select or de-select the
    entire page of results, the de-select action changes
    the check and highlight states of the items on page
    but doesn't actually remove the records from the
    basket. This branch corrects that so that you can
    select and de-select the entire page of results
    and your basket contents are what you would expect.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/web/js/ui/default/opac/record_selectors.js b/Open-ILS/web/js/ui/default/opac/record_selectors.js
index 6116b39..d0c5f2f 100644
--- a/Open-ILS/web/js/ui/default/opac/record_selectors.js
+++ b/Open-ILS/web/js/ui/default/opac/record_selectors.js
@@ -199,13 +199,18 @@
     if (rec_selector_block) rec_selector_block.classList.remove("hidden");
 
     function deselectSelectedOnPage() {
+        var to_del = [];
         [].forEach.call(rec_selectors, function(el) {
             if (el.checked) {
                 el.checked = false;
                 adjustLegacyControlsVis('delete', el.value);
                 toggleRowHighlighting(el);
+                to_del.push(el.value);
             }
         });
+        if (to_del.length > 0) {
+            mungeList('delete', to_del);
+        }
     }
 
     if (select_all_records_el) {

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

Summary of changes:
 .../web/js/ui/default/opac/record_selectors.js     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list