mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: column name.
This commit is contained in:
@@ -63,7 +63,7 @@ function initQueries(initialValue = new Map<TagValue, string>()) {
|
||||
const currentLocation = window.location.pathname;
|
||||
|
||||
if (usableQueries.size) {
|
||||
const queryParam = mapToQueryParams(get(queries));
|
||||
const queryParam = mapToQueryParams(usableQueries);
|
||||
goto(`${currentLocation}?query=${queryParam}`, { noScroll: true });
|
||||
} else {
|
||||
goto(currentLocation, { noScroll: true });
|
||||
|
||||
+1
@@ -30,6 +30,7 @@ export const load: PageLoad = async ({ params, depends, url, route, parent }) =>
|
||||
view,
|
||||
query,
|
||||
currentSort,
|
||||
parsedQueries,
|
||||
rows: await sdk.forProject(params.region, params.project).tablesDB.listRows({
|
||||
databaseId: params.database,
|
||||
tableId: params.table,
|
||||
|
||||
+4
@@ -611,6 +611,9 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
const parsedQueries = data.parsedQueries;
|
||||
const filterQueries = parsedQueries.size ? data.parsedQueries.values() : [];
|
||||
|
||||
$paginatedRowsLoading = true;
|
||||
const loadedRows = await sdk
|
||||
.forProject(page.params.region, page.params.project)
|
||||
@@ -621,6 +624,7 @@
|
||||
getCorrectOrderQuery(),
|
||||
Query.limit(SPREADSHEET_PAGE_LIMIT),
|
||||
Query.offset(pageToOffset(pageNumber, SPREADSHEET_PAGE_LIMIT)),
|
||||
...filterQueries, /* filter queries */
|
||||
...buildWildcardColumnsQuery($table)
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user