seven преди 1 седмица
родител
ревизия
5f54b4a95e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      app/Services/KeyboardService.php

+ 3 - 0
app/Services/KeyboardService.php

@@ -52,6 +52,9 @@ class KeyboardService extends BaseService
         if (isset($search['button']) && !empty($search['button'])) {
             $where[] = ['button', '=', $search['button']];
         }
+        if (isset($search['explain']) && !empty($search['explain'])) {
+            $where[] = ['explain', '=', $search['explain']];
+        }
        
         return $where;
     }