]> git.koha-community.org Git - koha.git/commit
Bug 23529: Narrow scope of changed
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Mon, 2 Sep 2019 08:29:14 +0000 (09:29 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 15 Nov 2019 10:15:22 +0000 (11:15 +0100)
commit3df5df6c749fc806c1ca8312834c6dd01446503d
tree03443d71b48364a6182e6ffabf0b6a87d140d3d4
parentaffbc2aa3efa0c3907b2b4205a285eac1af03a0d
Bug 23529: Narrow scope of changed

Whilst working on something else, it came to light that the previous fix
in bug 23229 was waaaaay too heavy handed and basically kills all ILL
related JS :( This is obviously a big problem, this patch fixes that.

The main problem is that all the ILL related JS is in a single file,
which isn't ideal as bits of it are used on different pages. Ideally,
we'd refactor it out into more manageable chunks which can be included
as required. Until such a time, this patch will do, it just prevents the
"get all requests" AJAX request unless you're on the ILL list page.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 04e9885c0f18fda2363818d4b0f2453a3aff4923)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js