seven 2 ngày trước cách đây
mục cha
commit
4f5ba4375b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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']];