We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d83a88 commit 3cc3bf2Copy full SHA for 3cc3bf2
lib/Query/QueryProvider.php
@@ -140,8 +140,10 @@ private function loadQueries()
140
Query::COUNT_GROUPS =>
141
"SELECT COUNT(DISTINCT ug.$ugUID) " .
142
"FROM $userGroup ug " .
143
+ (empty($uDisabled) ? "" : "LEFT JOIN $user u ON u.$uUID = ug.$ugUID ") .
144
"WHERE ug.$ugGID LIKE :$gidParam " .
- "AND ug.$ugUID LIKE :$searchParam",
145
+ "AND ug.$ugUID LIKE :$searchParam" .
146
+ (empty($uDisabled) ? "" : " AND NOT u.$uDisabled"),
147
148
Query::COUNT_USERS =>
149
"SELECT COUNT(u.$uUID) AS count " .
0 commit comments