Pārlūkot izejas kodu

Correctif : bug date Commande::findBy()

prodstable
keun pirms 7 gadiem
vecāks
revīzija
180defa946
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      common/models/Commande.php

+ 1
- 1
common/models/Commande.php Parādīt failu

@@ -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']);

Notiek ielāde…
Atcelt
Saglabāt