remove in category search

This commit is contained in:
Yuri Kuznetsov
2025-09-18 18:21:24 +03:00
parent a5baf82ddc
commit 9aa3e3213f
2 changed files with 0 additions and 27 deletions
@@ -33,21 +33,6 @@ class LinkCategoryTreeFieldView extends LinkFieldView {
selectRecordsView = 'views/modals/select-category-tree-records'
autocompleteDisabled = false
fetchSearch() {
const data = super.fetchSearch();
if (!data) {
return data;
}
if (data.typeFront === 'is') {
data.field = this.name;
data.type = 'inCategory';
}
return data;
}
getUrl() {
const id = this.model.get(this.idName);
@@ -36,18 +36,6 @@ class LinkMultipleCategoryTreeFieldView extends LinkMultipleFieldView {
getUrl(id) {
return '#' + this.entityType + '/list/categoryId=' + id;
}
fetchSearch() {
const data = super.fetchSearch();
if (!data) {
return data;
}
data.type = 'inCategory';
return data;
}
}
// noinspection JSUnusedGlobalSymbols