Bug 25250: (bug 24982 follow-up) Don't disable checkboxes if modification log
authorNick Clemens <nick@bywatersolutions.com>
Wed, 22 Apr 2020 14:40:17 +0000 (14:40 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Apr 2020 10:41:38 +0000 (11:41 +0100)
commit7b23e92d5f77d930f504739ca61789f44e416313
treed61bd4bbbaa1f6655877c6656a0ee9a1f77d2e83
parent40cc8075588523913ca1f97b87831a9e68b53cb3
Bug 25250: (bug 24982 follow-up) Don't disable checkboxes if modification log

If we are coming from the "Modification logs" of the patron module we
should not disable the checkboxes (that are not visible).
Otherwise the logs are not longer filtered and all are visible.

Test plan:
0. Don't apply this patch
1. Modify a patron, add them a fine, and do a checkout
2. Click the "Modification logs"
=> You see the Patrons and Circulation logs
3. Click submit
=> You see all the logs (KO)
4. Apply this patch
5. Click the "Modification logs"
=> You see the Patrons and Circulation logs
6. Click submit
=> You see the Patrons only (KO)
7. Apply the patch from bug 25249
8. Click the "Modification logs"
=> You see the Patrons and Circulation logs
9. Click submit
=> You see the Patrons and Circulation logs (OK!)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/viewlog.js