From 24d5ac532862aad55cec59a1c3815e02bd32b3ab Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Thu, 7 Jan 2016 11:47:43 -0500 Subject: [PATCH] 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. Signed-off-by: Dan Wells --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 1 + 1 file changed, 1 insertion(+) 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 8529a44b0d..fde602d32e 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 = {}; -- 2.11.0