Browse Source

[backend] Distribution : orderby des commandes

dev
Guillaume Bourgeois 4 years ago
parent
commit
9b8a89f09b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/controllers/DistributionController.php

+ 2
- 2
backend/controllers/DistributionController.php View File

'distribution.date' => $date, 'distribution.date' => $date,
], ],
[ [
'orderby' => 'comment_point_sale ASC, user.name ASC',
'orderby' => 'user.lastname ASC, user.name ASC, comment_point_sale ASC',
'conditions' => 'date_delete IS NULL' 'conditions' => 'date_delete IS NULL'
]) ; ]) ;
'distribution.id_producer' => $idProducer 'distribution.id_producer' => $idProducer
], ],
[ [
'orderby' => 'comment_point_sale ASC, user.name ASC',
'orderby' => 'user.lastname ASC, user.name ASC, comment_point_sale ASC',
'conditions' => 'date_delete IS NULL' 'conditions' => 'date_delete IS NULL'
]) ; ]) ;



Loading…
Cancel
Save