Leads filter (#2073)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-06-15 10:59:28 +06:00 committed by GitHub
parent 538f4cc61d
commit dd915141a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,10 @@ Platform:
- Allow to attach from clipboard
Leads:
- Add filters
Tracker:
- Attachments support

View File

@ -193,6 +193,14 @@ export function createModel (builder: Builder): void {
editor: lead.component.Leads
})
builder.mixin(lead.class.Lead, core.class.Class, view.mixin.ClassFilters, {
filters: ['attachedTo', 'title', 'assignee', 'state', 'doneState', 'modifiedOn']
})
builder.mixin(lead.mixin.Customer, core.class.Class, view.mixin.ClassFilters, {
filters: ['_class', 'description', 'city', 'modifiedOn']
})
builder.createDoc(
task.class.KanbanTemplateSpace,
core.space.Model,