From 825ec100c0ee7e04ea6351fe162187e6d4979f24 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 30 May 2023 18:25:28 +0700 Subject: [PATCH] UBER-320: Fix companies filter (#3292) Signed-off-by: Andrey Sobolev --- models/recruit/src/index.ts | 4 ++++ .../recruit-resources/src/components/Organizations.svelte | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index d95b9d5dbf..de2d2c6720 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -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, { diff --git a/plugins/recruit-resources/src/components/Organizations.svelte b/plugins/recruit-resources/src/components/Organizations.svelte index 5cbfc638c6..2e40287320 100644 --- a/plugins/recruit-resources/src/components/Organizations.svelte +++ b/plugins/recruit-resources/src/components/Organizations.svelte @@ -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 @@ (search = e.detail)} />
- +