fix(medusa): Update default relations in admin for list-product from module
This commit is contained in:
1 parent
f2fd51f969
commit
712c4496ce
2 files changed
+17
-1
No files matched your search
@@ -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"],
|
fields: ["title", "handle", "id", "created_at", "updated_at", "deleted_at"],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
categories: {
|
||||||
|
fields: [
|
||||||
|
"id",
|
||||||
|
"name",
|
||||||
|
"description",
|
||||||
|
"handle",
|
||||||
|
"is_active",
|
||||||
|
"is_internal",
|
||||||
|
"parent_category_id",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
fields: [
|
fields: [
|
||||||
"id",
|
"id",
|
||||||
@@ -503,4 +515,3 @@ export * from "./set-metadata"
|
|||||||
export * from "./update-option"
|
export * from "./update-option"
|
||||||
export * from "./update-product"
|
export * from "./update-product"
|
||||||
export * from "./update-variant"
|
export * from "./update-variant"
|
||||||
|
|
||||||
Reference in new issue
Block a user