Bug 30922: Make the "Relative's checkouts" table configurable by the table settings
authorShi Yao Wang <shi-yao.wang@inlibro.com>
Wed, 6 Jul 2022 14:47:03 +0000 (10:47 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Aug 2022 13:26:18 +0000 (10:26 -0300)
commitdb4293988551bd25eede41ee5e3b92c7ad02c797
tree3e35ece7a4aa45803663bbb11fbfcdd0441ac988
parent015dcce2ab614ec409c99ea6fb4d57e782d9ac5f
Bug 30922: Make the "Relative's checkouts" table configurable by the table settings

Adds "relatives-issues-table" in table settings.

Test plan:
1- Apply the patch
2- Check out an item to a patron with a guarantor
3- Go to the guarantor's "details" and "check out" page > relatives'
checkouts and look at the different columns (you should see collection
and location)
4- Go to
    admin > table settings > patron > moremember > relatives-issues-table
 or
    admin > table settings > circulation > circulation >
relatives-issues-table
to hide some columns (e.g. collection and location) and click save
5- Do step 3 again and notice some columns (e.g. collection and location) are hidden
6- Also notice the "Columns" and "Export" buttons that should work as
intended

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
koha-tmpl/intranet-tmpl/prog/js/checkouts.js