Browse Source

[Backend] Documents : ordonner les commandes par ordre chronologique #161

refactoring
Guillaume 2 years ago
parent
commit
69d6802776
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Document.php

+ 1
- 1
common/models/Document.php View File

@@ -99,7 +99,7 @@ class Document extends ActiveRecordCommon
return $this->hasMany(Order::className(), [$fieldIdDocument => 'id'])
->with($defaultOptionsSearch['with'])
->joinWith($defaultOptionsSearch['join_with'])
->orderBy('user.lastname ASC, user.name ASC, comment_point_sale ASC');
->orderBy('distribution.date ASC');
}



Loading…
Cancel
Save