fix: column name.

This commit is contained in:
Darshan
2025-09-04 13:05:09 +05:30
parent c8c45a8c34
commit ec4a343855
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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 });
@@ -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,
@@ -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)
]
});