Browse Source

Correctif : bug date Commande::findBy()

master
keun 7 years ago
parent
commit
180defa946
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Commande.php

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

@@ -362,7 +362,7 @@ class Commande extends \yii\db\ActiveRecord
if(isset($params['date']))
$commandes = $commandes->where(['production.date' => $date]);
$commandes = $commandes->where(['production.date' => $params['date']]);
if(isset($params['order']))
$commandes = $commandes->orderBy('date '.$params['order']);

Loading…
Cancel
Save