Bug 27292: Add TablesSettings directive to fix columns_settings_borrowers_table
authorDavid Cook <dcook@prosentient.com.au>
Wed, 23 Dec 2020 04:41:58 +0000 (04:41 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 Jan 2021 14:17:24 +0000 (15:17 +0100)
commit31ec92bfab16654b2a3f763d141559d0f882a1e7
tree6b81507c044cd966a3c6f2ff484abb3740031c63
parent4a90c0b647fdfdb0a39b43f6b10adba3bca53215
Bug 27292: Add TablesSettings directive to fix columns_settings_borrowers_table

This patch adds the USE TablesSettings directive which allows the plugin
to be invoked to fill the columns_settings_borrowers_table variable.

Test plan:
0. Do not apply the patch
1. Go to http://localhost:8081/cgi-bin/koha/reserve/request.pl?borrowernumber=51&biblionumber=29
2. View source on the page and note columns_settings_borrowers_table has no value assigned
2. Apply the patch
3. In a new tab, go to http://localhost:8081/cgi-bin/koha/reserve/request.pl?borrowernumber=51&biblionumber=29
4. Note that nothing has changed on the surfeace
5. View source ont he page and note columns_settings_borrowers_table now has a value assigned

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt