LP1183340 selectivly apply editable funds sorting
authorBill Erickson <berick@esilibrary.com>
Thu, 23 May 2013 13:11:25 +0000 (09:11 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 3 Jun 2013 21:55:05 +0000 (17:55 -0400)
commited8cb3204bbb4f2d8bf671c9da3fa0d5f1c98f0c
tree2c747901d957498b078f81945a5b1b7bddebffb9
parent154e4946456f43769a00843e021f1981eaffda7e
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