shish před 4 roky
rodič
revize
11b8566905
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app-hd/controllers/OrderController.php

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

@@ -817,9 +817,9 @@ class OrderController extends BaseController
         }
         }
         if (isset($get['searchText']) && !empty($get['searchText'])) {
         if (isset($get['searchText']) && !empty($get['searchText'])) {
             if (is_numeric($get['searchText'])) {
             if (is_numeric($get['searchText'])) {
-                $where['sendNum'] = $get['sendNum'];
+                $where['sendNum'] = $get['searchText'];
             } else {
             } else {
-                $where['bookName'] = $get['bookName'];
+                $where['bookName'] = $get['searchText'];
             }
             }
         }
         }
         if (!empty($search)) {
         if (!empty($search)) {