Bug 14388: Funds should be sorted by budget_code
authorJonathan Druart <jonathan.druart@koha-community.org>
Thu, 2 Jul 2015 15:42:16 +0000 (16:42 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 10 Dec 2015 02:05:08 +0000 (15:05 +1300)
commit839f8312a27d904b4295cb801b3480298a9a897c
tree5515f0de195342538a4670ec3e2c5b1c5761bdfc
parent9aa9a8ef3770a6a6845f37b90bbbdd8feada9c93
Bug 14388: Funds should be sorted by budget_code

Before this patch, the funds were sorted by budget_id, which does not
make any sense.

This patch adds a sort by budget_code on the fund list (acqui/acqui-home.pl and
admin/aqbudgets.pl)

Test plan:
On both pages (acqui/acqui-home.pl and admin/aqbudgets.pl) confirm that
the funds are now sorted by fund code (DB column budget_code)

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e0032c46e98b4cf31d76abb93d12041ea362d81e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 1cd654313bd539e22eacf4322fc419331ed80d44)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/Budgets.pm
t/db_dependent/Budgets.t