Bug 29695: Remove GetColumnDefs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Dec 2021 14:35:25 +0000 (15:35 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Apr 2022 09:40:16 +0000 (11:40 +0200)
commit1a14a0539affc98b0a0a9a50abc25b9279dac376
tree0e384c46adc2e1ad903b5e101ba9c306f00bdc1c
parentaae7c26aaba30caa7fe8e2f2374862ec1c97b709
Bug 29695: Remove GetColumnDefs

C4::Templates::GetColumnDefs can easily be replaced using the new
Koha::Database::Columns module.

Test plan:
Go to the import patron tool and confirm that you see the same list of
patron's attribute on the import patron form.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Templates.pm
koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt
koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js
t/db_dependent/Templates.t
tools/import_borrowers.pl