Browse Source

[backend] Distributions : correction bug commandes mélangées entre producteurs

dev
Guillaume Bourgeois 5 years ago
parent
commit
46986cd8f9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/DistributionController.php

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

// commandes // commandes
$ordersArray = Order::searchAll([ $ordersArray = Order::searchAll([
'distribution.date' => $date,
'distribution.id' => $distribution->id,
],[ ],[
'orderby' => 'user.lastname ASC, user.name ASC' 'orderby' => 'user.lastname ASC, user.name ASC'
]); ]);

Loading…
Cancel
Save