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

Evergreen Git git at git.evergreen-ils.org
Mon Mar 14 17:45:56 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, master has been updated
       via  5a36e4a0148fa22ad12cd75479b4636f8f9c74e4 (commit)
      from  a708144ce76a0d5ace4c59d5f3fe6d2354dbbf88 (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 5a36e4a0148fa22ad12cd75479b4636f8f9c74e4
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 68d9a67..1f02110 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