Fixed Invoice index display order.

This commit is contained in:
Karl Cordes 2010-07-16 12:45:58 +10:00
parent 86b42bf9ce
commit 64c375c3d4

View file

@ -6,8 +6,9 @@ class InvoicesController extends AppController {
var $paginate = array(
'limit' => 100,
'contain' => array('Customer')
'limit' => 300,
'contain' => array('Customer'),
'order'=>array('Invoice.id' => 'desc')
);
function index() {