From 117e31af69ffab800b9b10e4826fa55ddbcaf676 Mon Sep 17 00:00:00 2001 From: abijah Date: Mon, 22 Jun 2009 17:46:49 +0000 Subject: [PATCH] Due to the way we're adding in stats for each lease as a separate query, there isn't presently a way to sort by balance. Therefore I've disabled sorting on that column, which can be revisited if we reduce the grid down to a single SQL query. git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@174 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/views/elements/leases.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/views/elements/leases.ctp b/site/views/elements/leases.ctp index b26787a..2315f99 100644 --- a/site/views/elements/leases.ctp +++ b/site/views/elements/leases.ctp @@ -8,7 +8,7 @@ $cols['Customer'] = array('index' => 'Customer.name', 'formatter' => 'lon $cols['Signed'] = array('index' => 'Lease.lease_date', 'formatter' => 'date'); $cols['Move-In'] = array('index' => 'Lease.movein_date', 'formatter' => 'date'); $cols['Move-Out'] = array('index' => 'Lease.moveout_date', 'formatter' => 'date'); -$cols['Balance'] = array('index' => 'Lease.balance', 'formatter' => 'currency'); +$cols['Balance'] = array('index' => 'Lease.balance', 'formatter' => 'currency', 'sortable'=>false); $cols['Comment'] = array('index' => 'Lease.comment', 'formatter' => 'comment'); $jqGrid_options = array('jqGridColumns' => $cols,