]> git.koha-community.org Git - koha.git/commit
Bug 27975: Replace obsolete title-string sorting: Administration templates
authorOwen Leonard <oleonard@myacpl.org>
Wed, 17 Mar 2021 18:27:16 +0000 (18:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 13:56:30 +0000 (15:56 +0200)
commitc0b56714162109201d48bbecf4ad508fb8c1fd44
tree5478b6fa490e64f5dd4f733461238ae2fc650663
parent5b98ac36f345a2c6d1585b1c6d3336873785e11f
Bug 27975: Replace obsolete title-string sorting: Administration templates

This patch modifies two administration templates to replace the use of
the "title-string" DataTables sorting method with the newer
"data-order" attribute.

To test, apply the patch and view the following pages to confirm that
columns containing dates sort correctly when using any setting of the
"dateformat" system preference:

- Administration -> Currencies and exchange rates
- Administration -> Budgets
  - Both the "Active budgets" and "Inactive budgets" tabs

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt