]> 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)
committerChris Hall <followingthepath@gmail.com>
Sun, 18 Aug 2013 04:50:01 +0000 (16:50 +1200)
commit2de1e38095959e3f5ed189693347d871bd048c03
tree136a3968e70dc68e6be3f1d2e774053ddb3b35e6
parent893a3ff6ca2487ae9506cddc1e538f6d0785a3d3
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)
Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit 58f7b60bf3d718a9d76e87632086adbc734a1117)
C4/Budgets.pm