]> git.koha-community.org Git - koha.git/commit
Bug 31435: (follow-up) Make kohaTable calls consistent
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 5 Sep 2022 12:59:57 +0000 (13:59 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 19:08:01 +0000 (12:08 -0700)
commit6c7c93675e6a44bce79725bcd56928f23951dfe1
tree0feb01eabd3dcf201fc8a8ca50eaa39128dd9476
parent37c5cfb258ab5e953d2138c5adba3b4e6af1aead
Bug 31435: (follow-up) Make kohaTable calls consistent

Our calls to instantiate a kohaTable from JS were inconsistent in how
they pass table_settings where no table_settings exist.

This patch replaces empty arrays and empty hashrefs with a consistent
'null' being passed to ake it clear we don't have any settings to pass
yet.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt