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)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 20:39:59 +0000 (21:39 +0100)
commit1cd654313bd539e22eacf4322fc419331ed80d44
treebffc152658e684ddd6fa5812f605356c86b24a5c
parenteea56d412461d9b673306697dcf5335d8686afc8
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>
C4/Budgets.pm
t/db_dependent/Budgets.t