EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix link category parent field
Yuri Kuznetsov02f1e94c866c
diff --git a/client/src/views/fields/link-category-tree.js b/client/src/views/fields/link-category-tree.jsindex 70c2b0d237..0ea2afe275 100644--- a/client/src/views/fields/link-category-tree.js+++ b/client/src/views/fields/link-category-tree.js@@ -34,6 +34,11 @@ class LinkCategoryTreeFieldView extends LinkFieldView {autocompleteDisabled = falsegetUrl() {+ if (this.getMetadata().get(`scopes.${this.entityType}.type`) === 'CategoryTree') {+ // Can be used for the 'parent' field of the category entity type.+ return super.getUrl();+ }+const id = this.model.get(this.idName);if (!id) {