Skip to content

Fix saving of sort preference in group issues list

Heinrich Lee Yu requested to merge 353665-fix-group-issues-sort into master

What does this MR do and why?

Save user sort preference from query parameters when vue_issues_list is enabled.

This was previously done in the finder, but we no longer use the finder with vue_issues_list because the issues are loaded in a separate GraphQL request.

Note that for the project issues list, it actually works fine because we trigger the finder code even if we don't query for the issues. I'm planning to clean that up and make it explicit like this one in a separate MR. It's pending the discussion here: #355564 (comment 871181116)

How to set up and validate locally

  1. Visit the group issues list with a sort query param
  2. Verify that the GraphQL request makes the request with the correct sort order.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #353665 (closed)

Edited by Heinrich Lee Yu

Merge request reports

Loading