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>
This commit is contained in:
Jonathan Druart 2020-04-22 15:54:29 +02:00 committed by Martin Renvoize
parent 7b23e92d5f
commit 79f51b92c5
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -135,6 +135,7 @@ fieldset.rows label.viewlog {
</li>
[% ELSE %]
<input type="hidden" name="modules" value="MEMBERS" />
<input type="hidden" name="modules" value="CIRCULATION" />
[% END %]
<li>
<label for="actions">Actions:</label>