lvhao il y a 1 semaine
Parent
commit
e255b5d21f
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      core/CoreApp/controllers/Color.php

+ 4 - 0
core/CoreApp/controllers/Color.php

@@ -559,6 +559,7 @@ class Color extends Start_Controller {
 			$state = $this->input->get('state',true);
 			$timetk = $this->input->get('timetk',true);
 			$timetj = $this->input->get('timetj',true);
+			$color = $this->input->get('color',true);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$sid = $this->input->get('sid',true);
@@ -583,6 +584,9 @@ class Color extends Start_Controller {
             {
                 $where  .= " and state = '$state'";
             }
+			if($color){
+				$where  .= " and color = '$color'";
+			}
             if($developer)
             {
                 $where  .= " and developer = '$developer'";