UBER-320: Fix companies filter (#3292)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2023-05-30 18:25:28 +07:00 committed by GitHub
parent 6ff326bd59
commit 825ec100c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -987,6 +987,10 @@ export function createModel (builder: Builder): void {
filters: []
})
builder.mixin(recruit.mixin.VacancyList, core.class.Class, view.mixin.ClassFilters, {
filters: []
})
createReviewModel(builder)
createAction(builder, {

View File

@ -17,15 +17,15 @@
import core, { Doc, DocumentQuery, Ref } from '@hcengineering/core'
import { createQuery, getClient } from '@hcengineering/presentation'
import { Applicant, Vacancy } from '@hcengineering/recruit'
import { Button, Label, Loading, SearchEdit, showPopup, IconAdd } from '@hcengineering/ui'
import { Button, IconAdd, Label, Loading, SearchEdit, showPopup } from '@hcengineering/ui'
import view, { BuildModelKey, Viewlet, ViewletPreference } from '@hcengineering/view'
import {
FilterBar,
FilterButton,
getViewOptions,
setActiveViewletId,
TableBrowser,
ViewletSettingButton,
getViewOptions,
setActiveViewletId,
viewOptionStore
} from '@hcengineering/view-resources'
import recruit from '../plugin'
@ -239,7 +239,7 @@
<SearchEdit bind:value={search} on:change={(e) => (search = e.detail)} />
<!-- <ActionIcon icon={IconMoreH} size={'small'} /> -->
<div class="buttons-divider" />
<FilterButton _class={recruit.class.Vacancy} />
<FilterButton _class={recruit.mixin.VacancyList} />
</div>
<div class="ac-header-full medium-gap">
<ViewletSettingButton bind:viewOptions viewlet={descr} />