Bug 12089: Remove use of dt_add_type_uk_date() - Budgets
authorOwen Leonard <oleonard@myacpl.org>
Wed, 16 Apr 2014 18:32:24 +0000 (14:32 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 28 Apr 2014 18:38:50 +0000 (18:38 +0000)
commitda17402cb045b5f41f47d549fc7fa2042a261fa1
treecd71524b3736f71e7393d7bbdc52d042e3331978
parent34ce1c963866815c501008d81d161a88ee12e69c
Bug 12089: Remove use of dt_add_type_uk_date() - Budgets

This patch removes use of dt_add_type_uk_date() from the budgets
administration page and updates the sorting configuration according to
current guidelines. Date sorting is converted to the title-string
method. Invalid <td> "align" attribute is replaced with a class.

Also corrected: Active tab selection based on class.

To test, go to Administration -> Budgets and confirm that sorting works
correctly on both the active and inactive budget tabs. Sorting by date
should work correctly regardless of dateformat system preference.

To test tab selection, append "?tab=2" to the page URL and confirm that
the inactive budget tab is selected.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt