Order shipment created descending. Fixes #10
This commit is contained in:
parent
b3f5c536dd
commit
1d9034a132
|
|
@ -2,7 +2,7 @@
|
|||
class LineItemsController extends AppController {
|
||||
|
||||
var $name = 'LineItems';
|
||||
var $helpers = array('Html', 'Form', 'Javascript', 'Number');
|
||||
var $helpers = array('Html', 'Form', 'Javascript', 'Number', 'Decimal');
|
||||
|
||||
var $components = array('RequestHandler');
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ class Shipment extends AppModel {
|
|||
|
||||
var $recursive = 1;
|
||||
|
||||
var $order = 'Shipment.created DESC';
|
||||
|
||||
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||||
var $belongsTo = array(
|
||||
'FreightForwarder' => array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue