shish 2 лет назад
Родитель
Сommit
0cba2fe112
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/OrderController.php

+ 1 - 1
app-hd/controllers/OrderController.php

@@ -847,7 +847,7 @@ class OrderController extends BaseController
                 } elseif ($searchType == 2) {
                     $where['bookMobile'] = $search;
                 } elseif ($searchType == 3) {
-                    $where['customName'] = $search;
+                    $where['customName'] = ['like', $search];
                 } else {
                     $where['actPrice'] = $search;
                 }