[open-ils-commits] [GIT] Evergreen ILS branch rel_2_9 updated. 341babf860a20539529e29db252545031b01ed5f

Evergreen Git git at git.evergreen-ils.org
Mon Mar 14 17:45:57 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_9 has been updated
       via  341babf860a20539529e29db252545031b01ed5f (commit)
      from  0e7bb08d991fc55eeb62eef2cf4b636d76af56e7 (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 341babf860a20539529e29db252545031b01ed5f
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Thu Jan 7 11:47:43 2016 -0500

    LP#1208613: Reset lineitem cache when resetting table
    
    Stale cache entries in this table were causing the "expand all"
    functionality to break.  This might be a nuclear option, but as far as
    I could see, this "cache" gets repopulated on every pagination anyway,
    so I don't think we're losing anything.
    
    To test:
    
    [1] Select a large list from the Acquisitions --> My Selection List
        screen.
    [2] Click on the Expand All button and the items on the page expand
        with more information.
    [3] Click on the Next link to bring up page 2 of the list.
    [4] Click on the Expand All button and verify that additional
        information is displayed.
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Erica Rohlfs <erohlfs at esilibrary.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js
index 4eda197..ffa6fc2 100644
--- a/Open-ILS/web/js/ui/default/acq/common/li_table.js
+++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js
@@ -360,6 +360,7 @@ function AcqLiTable() {
     this.reset = function(keep_selectors) {
         while(self.tbody.childNodes[0])
             self.tbody.removeChild(self.tbody.childNodes[0]);
+        self.liCache = {};
         self.noteAcks = {};
         self.relCache = {};
 

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

Summary of changes:
 Open-ILS/web/js/ui/default/acq/common/li_table.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list