lvhao преди 1 седмица
родител
ревизия
e255b5d21f
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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'";