Bug 28859: Correctly handle 'Checked out by' visibility
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Oct 2021 08:25:37 +0000 (10:25 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 15:32:34 +0000 (17:32 +0200)
commit16e988301c8afb4f4ecca498ca7a01a3a82f64d9
tree29f7fd40a6c52cf7b384c227fd6e66457dddb23b
parenta8a7ce37177b0009a7f51a35d8b65b3bc634d15c
Bug 28859: Correctly handle 'Checked out by' visibility

We must have the column in the table and let DT deal with the
visibility.

This patch hides the "Checked out by" column by default if
RecordStaffUserOnCheckout is off, but the DT column settings is aware of
its existence and the end user can still display the column.

IMO that's the most optimal situation considering both maintenance and ergonomic.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt