Bug 25249: (bug 19791 follow-up) Display Circulation log when showing patron's log
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 22 Apr 2020 13:54:29 +0000 (15:54 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Apr 2020 10:41:49 +0000 (11:41 +0100)
commit79f51b92c51cde6e815461e7a90d1d33fda49bda
tree2a48a814590af43120633354bbe6085a9f3229f1
parent7b23e92d5f77d930f504739ca61789f44e416313
Bug 25249: (bug 19791 follow-up) Display Circulation log when showing patron's log

When viewing a patron if you click the 'Modification log' tab you are presetned with both their circulation and members logs:
https://staff.arcadiapl.bywatersolutions.com/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=CIRCULATION&object=152309&src=circ

However, in bug 19791 the modules were locked to 'MEMBERS' if the src=circ

We need to add CIRCULATION in as well

Test plan:
For master follow the test plan on bug 25250.

Bug 24982 is not in stable branch, so test plan for stable branches:
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 patron logs only
4. Apply this patch
5. Click the "Modification logs"
=> You see the Patrons and Circulation logs
6. Click submit
=> You see the Patrons and Circulation logs

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
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/tools/viewlog.tt