sort compare packages modal analyses by title
This commit is contained in:
@@ -128,7 +128,7 @@ const ComparePackagesModal = async ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<TableRow key={id}>
|
<TableRow key={id}>
|
||||||
<TableCell className="py-6">
|
<TableCell className="py-6 sm:max-w-[30vw]">
|
||||||
{title}{' '}
|
{title}{' '}
|
||||||
{description && (<InfoTooltip content={description} icon={<QuestionMarkCircledIcon />} />)}
|
{description && (<InfoTooltip content={description} icon={<QuestionMarkCircledIcon />} />)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ async function analysisPackageElementsLoader({
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
id: analysisElementMedusaProductIds,
|
id: analysisElementMedusaProductIds,
|
||||||
limit: 100,
|
limit: 100,
|
||||||
|
order: "title",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,12 @@ export const listProducts = async ({
|
|||||||
regionId,
|
regionId,
|
||||||
}: {
|
}: {
|
||||||
pageParam?: number
|
pageParam?: number
|
||||||
queryParams?: HttpTypes.FindParams & HttpTypes.StoreProductParams & { "type_id[0]"?: string; id?: string[], category_id?: string }
|
queryParams?: HttpTypes.FindParams & HttpTypes.StoreProductParams & {
|
||||||
|
"type_id[0]"?: string;
|
||||||
|
id?: string[],
|
||||||
|
category_id?: string;
|
||||||
|
order?: 'title';
|
||||||
|
}
|
||||||
countryCode?: string
|
countryCode?: string
|
||||||
regionId?: string
|
regionId?: string
|
||||||
}): Promise<{
|
}): Promise<{
|
||||||
|
|||||||
Reference in New Issue
Block a user