]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 25 Oct 2019 12:17:34 +0000 (13:17 +0100)
commit04e9885c0f18fda2363818d4b0f2453a3aff4923
tree15669263b9900572104aefc71a2f818b57d9d76d
parent4274a2f51dcf0e7ee0dfebc805036ddbc7f3e4fa
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>
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js