Fixed Invoice index display order.
This commit is contained in:
parent
86b42bf9ce
commit
64c375c3d4
|
|
@ -6,8 +6,9 @@ class InvoicesController extends AppController {
|
||||||
|
|
||||||
|
|
||||||
var $paginate = array(
|
var $paginate = array(
|
||||||
'limit' => 100,
|
'limit' => 300,
|
||||||
'contain' => array('Customer')
|
'contain' => array('Customer'),
|
||||||
|
'order'=>array('Invoice.id' => 'desc')
|
||||||
);
|
);
|
||||||
|
|
||||||
function index() {
|
function index() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue