OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
filter instance variable might not have been set first
ulferts7f6fae0aa2e1
diff --git a/frontend/src/app/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts b/frontend/src/app/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.tsindex b3612e68350..d9b31c77ac8 100644--- a/frontend/src/app/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts+++ b/frontend/src/app/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts@@ -53,8 +53,6 @@ export class WorkPackageFilterByTextInputComponent implements OnDestroy {placeholder: this.I18n.t('js.work_packages.placeholder_filter_by_text')};- private filter:QueryFilterInstanceResource;-/** Observable to the current search filter term */public searchTerm = input<string>('');@@ -95,13 +93,13 @@ export class WorkPackageFilterByTextInputComponent implements OnDestroy {this.wpTableFilters.replace('search', filter => {filter.operator = filter.findOperator('**')!;filter.values = [term];-- this.filter = filter;});} else {- this.wpTableFilters.remove(this.filter);+ let filter = this.wpTableFilters.find('search');++ this.wpTableFilters.remove(filter!);- this.deactivateFilter.emit(this.filter);+ this.deactivateFilter.emit(filter);}});}