LP1183340 selectivly apply editable funds sorting
authorBill Erickson <berick@esilibrary.com>
Thu, 23 May 2013 13:11:25 +0000 (09:11 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 4 Jun 2013 18:21:35 +0000 (14:21 -0400)
commitcf8c1222d7d5be18447acc2a40e89b8e9625ef9d
treeb084c96d18addfd0a8cf226068cdec5907d3be19
parent63fddafae9eebb132d5533620c2d4ce607dc35e8
LP1183340 selectivly apply editable funds sorting

Avoid sorting editable funds to the front of the fund list when there
are no org units at which the user has the ADMIN_ACQ_FUND permission.
Otherwise, we are sorting on an empty 'IN' list in pcrud, which results
in an error.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/acq/financial/list_funds.js