]> git.koha-community.org Git - koha.git/commit
Bug 19791: Keep user in circ when viewing patron's logs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Feb 2020 10:44:44 +0000 (11:44 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 18 Mar 2020 21:41:18 +0000 (21:41 +0000)
commit9e46c1c89af1176c3996e69e0a2a841803e0206c
tree7e5044419996b03943019945417b63a178c505bc
parent9bfd9e53ef93d85f01d0de6f406ff161126ca871
Bug 19791: Keep user in circ when viewing patron's logs

When a librarian is viewing the log for a given patron (tab "modification log"
from the circulation module), the "object" and "modules" parameter can
be modified. It does not make sense, we should stay in the circulation
module and avoid those fields to be modified.

Test plan:
- Modify several patrons (in order to have several modification logs)
- Go to the modification log tab of one of them
- Notice that the "Object" input is not a "Borrowernumber" labelled
input and that you cannot modify it.
Also notice that the "modules" is hidden.
- Go to the log viewer tool and notice that the view is still the same
as before this patch.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit d78feb1d2fed87f2f38b4d4b57a3c0e5cff63b9d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt