LP1183340 selectivly apply editable funds sorting user/berick/lp1183340-acq-fund-list-perm-repair
authorBill Erickson <berick@esilibrary.com>
Thu, 23 May 2013 13:11:25 +0000 (09:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 23 May 2013 13:11:25 +0000 (09:11 -0400)
commitbca12e52e792f07fa576ad1e7163a665ae684a61
tree8e4ccb647f64b22da4984d0873146a62a33e3970
parentae55f787643032be2765fc54447b3316742da4ff
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>
Open-ILS/web/js/ui/default/acq/financial/list_funds.js