[feat]:[FL-209][维度管理页面添加按维度类型排序]
在维度管理页面的查询接口中添加排序参数,按维度类型升序排序。 主要修改: - 在 dimensionsQueryParams 中添加 sort_by=dimension_type 参数 - 添加 sort_order=asc 参数,实现升序排序 - 确保查询结果按维度类型有序展示 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -98,6 +98,8 @@ export default function AdminDimensionsPage() {
|
||||
const params = new URLSearchParams();
|
||||
params.set("limit", String(paginationPageSize));
|
||||
params.set("offset", String((paginationCurrent - 1) * paginationPageSize));
|
||||
params.set("sort_by", "dimension_type");
|
||||
params.set("sort_order", "asc");
|
||||
if (selectedDimensionType) {
|
||||
params.set("dimension_type", selectedDimensionType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user