Hi tanya ,
Thanks for your fast response as always! We will try your solution.
Best regards.
Folders Tree Documents View
Collapse
X
-
Hello
This code is in client/modules/crm/src/views/document/list.js
find
and modify toCode:if (this.currentCategoryId) { this.collection.whereAdditional = [ { field: this.categoryField, type: this.categoryFilterType, value: model.id } ]; }You can do it in upgrade-safe way https://github.com/espocrm/documenta...ustom-views.mdCode:if (this.currentCategoryId) { this.collection.whereAdditional = [ { type:'equals', attribute:'folderId', value: model.id } ]; }
Possible needs to modify client/modules/crm/src/views/document/modals/select-records.js as wellLeave a comment:
-
Folders Tree Documents View
Hi,
We are using the Documents module and it works GREAT.
However, isn't it strange that a file is viewed from all the above parents folders?
Example: We have the following Folder Tree (structure):- Folder 1.0
- Folder 1.1
- Folder 1.2
- Folder 1.1
Is there any solution for this?
Thanks a lot.Tags: None - Folder 1.0

Leave a comment: