Ver código fonte

[backend] Distribution : orderby des commandes

refactoring
Guillaume Bourgeois 5 anos atrás
pai
commit
9b8a89f09b
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      backend/controllers/DistributionController.php

+ 2
- 2
backend/controllers/DistributionController.php Ver arquivo

@@ -392,7 +392,7 @@ class DistributionController extends BackendController
'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'
]) ;
@@ -593,7 +593,7 @@ class DistributionController extends BackendController
'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'
]) ;


Carregando…
Cancelar
Salvar