Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webapps/tasklist): render task if no filter exists #4926

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

venetrius
Copy link
Member

related to: /issues/4793

@venetrius venetrius self-assigned this Feb 7, 2025
@@ -140,7 +140,7 @@ module.exports = [
'searchQuery',
function(currentFilter, searchQuery) {
if (!currentFilter) {
return null;
return angular.copy(searchQuery);
Copy link
Member Author

@venetrius venetrius Feb 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If no filter exists we still need to return the searchQuery otherwise taskId will be removed from the $location

@venetrius venetrius added the ci:e2e Runs the frontend end-to-end tests. label Feb 7, 2025
@venetrius venetrius requested review from tasso94 and removed request for tasso94 February 7, 2025 10:44
@venetrius venetrius force-pushed the 4793-opening-task-from-link-does-not-work branch from 8dcf4b9 to 40d9778 Compare February 7, 2025 11:06
@@ -179,7 +179,7 @@ module.exports = [
if (oldQuery.id && oldQuery.id !== taskListQuery.id) {
clearSelectedTask();
}
} else {
} else if (!angular.equals(oldQuery, {})) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't clear the selected task if the new and the old search are both empty.

@venetrius venetrius requested a review from tasso94 February 7, 2025 11:07
@venetrius venetrius added bot:backport:7.20 Backports PR to maintenance branch 7.20. bot:backport:7.22 Backports PR to maintenance branch 7.22. and removed bot:backport:7.20 Backports PR to maintenance branch 7.20. labels Feb 17, 2025
@venetrius venetrius merged commit 4a27a64 into master Feb 17, 2025
9 checks passed
@venetrius venetrius deleted the 4793-opening-task-from-link-does-not-work branch February 17, 2025 10:25
@ap-development-workflow
Copy link

Successfully created backport PR for 7.22:

  • camunda/camunda-bpm-platform-maintenance#1356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:backport:7.22 Backports PR to maintenance branch 7.22. ci:e2e Runs the frontend end-to-end tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants