From 73f994b53859a50238dc2e636d417abaf4c35a17 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 12 Jun 2017 17:19:02 -0400 Subject: [PATCH] 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. --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 1 - 1 file changed, 1 deletion(-) 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 = {}; -- 2.11.0