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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:e2e Runs the frontend end-to-end tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant