Bug 19791: Keep user in circ when viewing patron's logs
commitfa8225feb344eb224cd59eace0cb18370d9e547e
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Feb 2020 10:44:44 +0000 (14 11:44 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Feb 2020 11:29:58 +0000 (19 11:29 +0000)
tree7ecaae7dd3576ab7b432d09a6056ccfed6c9763d
parent6d55462f1b2cb4840333f9e3830de3084a39a30e
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt