Thanks for taking time to answer.
Unfortunately, without changing the Autocomplete behavior, the default filter is useless for me. I hope you will have an idea to implement a kind of "ARCHIVE old records" on the future versions.
My only chance.
Thanks Yuri.
Default Filters
Collapse
X
-
Hi Yuri, does it would work for INSTANT SEARCH on that view as well?custom/Espo/Custom/Resources/metadata/clientDefs/YourEntityType.json
Primary filter. 'active' is the name of primary filter (dropdown on the left).
Field filter.Code:{ "defaultFilterData": { "primary": "active" } }
Code:{ "defaultFilterData": { "advanced": { "orderDate": { "type": "lastSevenDays" } } } }
ThanksLeave a comment:
-
Putting the negative did not work as expected - just FYI for others
Also - Where did "Clear Local Cache" go? - (to get the default filter back I have to clear the browser history)
This is what did work:
Code:"defaultFilterData": { "advanced": { "orderdate": { "type": "lastXDays", "number": 45, "value": 45 } } }Leave a comment:
-
custom/Espo/Custom/Resources/metadata/clientDefs/YourEntityType.json
Primary filter. 'active' is the name of primary filter (dropdown on the left).
Field filter.Code:{ "defaultFilterData": { "primary": "active" } }
Code:{ "defaultFilterData": { "advanced": { "orderDate": { "type": "lastSevenDays" } } } }Last edited by yuri; 03-23-2019, 06:12 AM.Leave a comment:
-
I see the exact same thing that rodrigocoelho is seeing in this directory.
yurikuzn - Perhaps we are not on the same page of understanding.
Default Filters for the list view of an entity upon logging in, unless cleared or changed.
See Screen shot - I would like this displayed every time I log in by default. (The filter)
1 PhotoLeave a comment:
-
-
-
We are talking about DEFAULT filters. Like ALWAYS filtering Archived ones......Reports has an ability to be used as a filter https://github.com/espocrm/documenta...sed-on-reportsLeave a comment:
-
Reports has an ability to be used as a filter https://github.com/espocrm/documenta...sed-on-reportsLeave a comment:
-
I asked for the same thing in other post. My problem is not related to speed, but for helping to choose the correct linked object when typing (autocomplete), it is showing ALL thousands of options, and I would like to have only the "not archived" ones as options.It would be great if this could be done via the GUI.
https://forum.espocrm.com/forum/feat...der-any-entity
Let's hope yuri can think on a solution for the next versions. I trust him!Leave a comment:

Leave a comment: