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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 13 Mar 2020 00:19:52 +0000 (00:19 +0000)
commitd78feb1d2fed87f2f38b4d4b57a3c0e5cff63b9d
tree4b0b4779538b7e9e2e7012062840b1f25be41f6a
parentd833b9f957b5b537dd831ad4d9296b6163db2ba9
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt