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

if(isset($params['date'])) if(isset($params['date']))
$commandes = $commandes->where(['production.date' => $date]);
$commandes = $commandes->where(['production.date' => $params['date']]);
if(isset($params['order'])) if(isset($params['order']))
$commandes = $commandes->orderBy('date '.$params['order']); $commandes = $commandes->orderBy('date '.$params['order']);

Loading…
Cancel
Save