Procházet zdrojové kódy

rm group users filters

tags/0.1.0
Robin Thoni před 8 roky
rodič
revize
1c97ccb1a3

+ 2
- 2
src/Auth/DataAccess/LuticateGroupsDataAccess.php Zobrazit soubor

@@ -38,11 +38,11 @@ class LuticateGroupsDataAccess extends LuDataAccess {
38 38
     }
39 39
     public static function getUsers($group_id, $page = 0, $perPage = PHP_INT_MAX, $query = "")
40 40
     {
41
-        $model = LuticateUsers::where("luticate_users.username", "ilike", "%" . $query . "%")
41
+        $model = LuticateUsers::/*where("luticate_users.username", "ilike", "%" . $query . "%")
42 42
             ->where("luticate_users.email", "ilike", "%" . $query . "%", "or")
43 43
             ->where("luticate_users.firstname", "ilike", "%" . $query . "%", "or")
44 44
             ->where("luticate_users.lastname", "ilike", "%" . $query . "%", "or")
45
-            ->where("luticate_users_groups.group_id", "=", $group_id, "and")
45
+            ->*/where("luticate_users_groups.group_id", "=", $group_id, "and")
46 46
             ->join("luticate_users_groups", "luticate_users.id", "=", "luticate_users_groups.user_id");
47 47
 
48 48
         $count = $model->count();

Načítá se…
Zrušit
Uložit