fix(medusa): Update default relations in admin for list-product from module
This commit is contained in:
5
.changeset/lemon-poems-join.md
Normal file
5
.changeset/lemon-poems-join.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
fix(medusa): update default admin query with product categories
|
||||
@@ -159,6 +159,18 @@ export const defaultAdminProductRemoteQueryObject = {
|
||||
fields: ["title", "handle", "id", "created_at", "updated_at", "deleted_at"],
|
||||
},
|
||||
|
||||
categories: {
|
||||
fields: [
|
||||
"id",
|
||||
"name",
|
||||
"description",
|
||||
"handle",
|
||||
"is_active",
|
||||
"is_internal",
|
||||
"parent_category_id",
|
||||
],
|
||||
},
|
||||
|
||||
options: {
|
||||
fields: [
|
||||
"id",
|
||||
@@ -503,4 +515,3 @@ export * from "./set-metadata"
|
||||
export * from "./update-option"
|
||||
export * from "./update-product"
|
||||
export * from "./update-variant"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user