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
Always enforce a query reload when clicking on the main menu entry
Henriette Dinger47b26a7ce5ee
diff --git a/frontend/src/app/components/wp-query-select/wp-query-select-dropdown.component.ts b/frontend/src/app/components/wp-query-select/wp-query-select-dropdown.component.tsindex 4eea8223bd8..f561719170d 100644--- a/frontend/src/app/components/wp-query-select/wp-query-select-dropdown.component.ts+++ b/frontend/src/app/components/wp-query-select/wp-query-select-dropdown.component.ts@@ -432,15 +432,7 @@ export class WorkPackageQuerySelectDropdownComponent implements OnInit, OnDestro// On click of a menu item, load requested queryprivate loadQuery(item:IAutocompleteItem) {const params = this.getQueryParams(item);- const currentId = _.toString(this.$state.params.query_id);- let opts = {reload: false};-- const isSameItem = params.query_id && params.query_id === currentId.toString();-- // Ensure we're reloading the query- if (isSameItem) {- opts.reload = true;- }+ const opts = {reload: true};this.$state.go('work-packages.list',