seven 2 dni temu
rodzic
commit
4f5ba4375b
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/Services/GameplayRuleService.php

+ 2 - 2
app/Services/GameplayRuleService.php

@@ -45,8 +45,8 @@ class GameplayRuleService extends BaseService
     public static function getWhere(array $search = []) :array
     {
         $where = [];
-        if(isset($search['group']) && !empty($search['group'])){
-            $where[] = ['group', '=', $search['group']];
+        if(isset($search['groups']) && !empty($search['groups'])){
+            $where[] = ['groups', '=', $search['groups']];
         }
         if(isset($search['keywords']) && !empty($search['keywords'])){
             $where[] = ['keywords', '=', $search['keywords']];