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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 11 Jul 2013 16:52:34 +0000 (16:52 +0000)
commitaa6cdb60a9ab2581ffef08796a349242d3d2ff66
tree4b1f7edd561d6d23a31258a91a89603f158b50cf
parentc6bf2670502afbd12981aa5e913779c38c19bdc4
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>
C4/Budgets.pm