[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. b2047e5dc4f19bbfc61628dc52698e3970bd5aa6
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_8 has been updated
via b2047e5dc4f19bbfc61628dc52698e3970bd5aa6 (commit)
from 4873761989a11650bd7d9cc07392ebc76bdcca1b (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 b2047e5dc4f19bbfc61628dc52698e3970bd5aa6
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 af33b03..455caaf 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
@@ -359,6 +359,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