Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix(admin): default title sort on collection products table (#1180)

Viktor Holikb71c1f0d3875
diff --git a/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx b/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
index b9fdbcc8f..29a899a19 100644
--- a/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
+++ b/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
@@ -130,6 +130,7 @@ export const CollectionProductSection = ({
{ key: "created_at", label: t("fields.createdAt") },
{ key: "updated_at", label: t("fields.updatedAt") },
]}
+ defaultOrder={searchParams.order}
queryObject={raw}
commands={[
{