From: Bill Erickson Date: Mon, 12 Jun 2017 21:19:02 +0000 (-0400) Subject: Revert "LP#1208613: Reset lineitem cache when resetting table" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=73f994b53859a50238dc2e636d417abaf4c35a17;p=working%2FEvergreen.git Revert "LP#1208613: Reset lineitem cache when resetting table" Avoid clearing the lineitem cache on each page of lineitems. We need the cache to for multi-page selection-to-PO support. If the original bugs addressed by this commit resurface, we can resolve it by maintaining 2 caches, the stock liCache and a separate parallel cache used just for multi-page actions. https://bugs.launchpad.net/evergreen/+bug/1208613 https://kcevergreen.atlassian.net/browse/JBAS-673 This reverts commit 341babf860a20539529e29db252545031b01ed5f. --- 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 3804f0c412..a50eb98093 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 @@ -443,7 +443,6 @@ 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 = {};