]> git.koha-community.org Git - koha.git/commit
Bug 10535: by default sort funds by name
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Wed, 3 Jul 2013 12:24:23 +0000 (14:24 +0200)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sun, 4 Aug 2013 13:47:19 +0000 (10:47 -0300)
commit58f7b60bf3d718a9d76e87632086adbc734a1117
tree4c2175ee06577f1b809c343e8460915458998130
parente1b677188a0464a9e4752313a3bb6843bdb38a62
Bug 10535: by default sort funds by name

In parcels.pl, and other acquisition pages, the funds are not sorted
by name in combo-box.  With a great number of funds, it is difficult
to find one.

This patch adds a default value to $orderby arg of C4::Budgets::GetBudgets.

Test plan :
- Create a new fund with a name beginning with 'z' and set you as owner.
- Create a new fund with a name beginning with 'a' and set you as owner.
- Go to a vendor and click "Receive shipments"
- Look at fund combobox
=> Funds are sorted by name

Signed-off-by: Silvia Simonetti <s.simonetti@cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
When testing make sure your funds would sort the other way
around when sorting by code instead of description.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit aa6cdb60a9ab2581ffef08796a349242d3d2ff66)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit f56768adba9fb1d39861e04796fac2be8cfdf914)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit f56768adba9fb1d39861e04796fac2be8cfdf914)
C4/Budgets.pm