From b53d63d6c86f0aee1d5601b680e6cca7fd5c31a7 Mon Sep 17 00:00:00 2001 From: Nicolas Gorga <62995075+NicolasGorga@users.noreply.github.com> Date: Mon, 8 Dec 2025 08:39:58 -0300 Subject: [PATCH] fix(dashboard): pass prefix to useDataTable to fix product list not paginating (#14232) * Pass prefix to useDataTable hook * Add changeset --- .changeset/stale-coats-shave.md | 5 +++++ .../price-list-create-form/price-list-products-form.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/stale-coats-shave.md diff --git a/.changeset/stale-coats-shave.md b/.changeset/stale-coats-shave.md new file mode 100644 index 0000000000..1f2738b9a9 --- /dev/null +++ b/.changeset/stale-coats-shave.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +fix(dashboard): pass prefix to useDataTable to fix product list not paginating diff --git a/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx b/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx index ad8c8f659e..a2fdc90cce 100644 --- a/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx +++ b/packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx @@ -109,6 +109,7 @@ export const PriceListProductsForm = ({ form }: PriceListProductsFormProps) => { updater, }, pageSize: PAGE_SIZE, + prefix: PREFIX, }) if (isError) {