mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
updated merging of user and current queries
This commit is contained in:
1 parent
9e595588bc
commit
2b33dc3c72
1 file changed
+2
-1
@@ -97,7 +97,8 @@ class XList extends Action
|
||||
}
|
||||
|
||||
try {
|
||||
$databases = $dbForProject->find('databases', $this->getDatabaseTypeQueryFilters());
|
||||
$queries = array_merge($queries, $this->getDatabaseTypeQueryFilters());
|
||||
$databases = $dbForProject->find('databases', $queries);
|
||||
$total = $includeTotal ? $dbForProject->count('databases', $queries, APP_LIMIT_COUNT) : 0;
|
||||
} catch (OrderException $e) {
|
||||
throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order column '{$e->getAttribute()}' had a null value. Cursor pagination requires all rows order column values are non-null.");
|
||||
|
||||
Reference in new issue
Block a user