]> git.koha-community.org Git - koha.git/commit
Bug 29648: Improve existing code
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 16 Dec 2021 10:34:02 +0000 (11:34 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Apr 2022 21:20:43 +0000 (11:20 -1000)
commit0f83b0fe20a80b52060106dd2882fbf2f711fc62
tree9f3fed83f5c39af40bb8b9e06a123cffc6b69140
parent36dbe774511330bd9f672b0ec0750babab87053a
Bug 29648: Improve existing code

We already have 2 tables that are configurable, on acqui/basket and
reports/orders_by_budget.
This patch is modifying a bit the existing code to transfer the
responsability/logic to the KohaTable constructor instead of the
template that is creating the object.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Utils/DataTables/TablesSettings.pm
Koha/Template/Plugin/TablesSettings.pm
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt