diff --git a/changelog.md b/changelog.md index 2906cab869..7892aef140 100644 --- a/changelog.md +++ b/changelog.md @@ -13,6 +13,7 @@ Tracker: - Issue state history. - Subissue issue popup. - Label support +- Priority filter Lead: diff --git a/models/tracker/src/index.ts b/models/tracker/src/index.ts index fb4a151605..6150717ea2 100644 --- a/models/tracker/src/index.ts +++ b/models/tracker/src/index.ts @@ -409,6 +409,10 @@ export function createModel (builder: Builder): void { presenter: tracker.component.PriorityPresenter }) + builder.mixin(tracker.class.TypeIssuePriority, core.class.Class, view.mixin.AttributeFilter, { + component: view.component.ValueFilter + }) + builder.mixin(tracker.class.IssueStatus, core.class.Class, view.mixin.AttributePresenter, { presenter: tracker.component.StatusPresenter }) diff --git a/plugins/tracker-resources/src/components/issues/PriorityPresenter.svelte b/plugins/tracker-resources/src/components/issues/PriorityPresenter.svelte index eb0488cc24..cff5d48fee 100644 --- a/plugins/tracker-resources/src/components/issues/PriorityPresenter.svelte +++ b/plugins/tracker-resources/src/components/issues/PriorityPresenter.svelte @@ -13,15 +13,22 @@ // limitations under the License. --> {#if value !== undefined} +