Skip to content

Sort goals by name in UI #22279

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

Merged
merged 2 commits into from
Jun 10, 2024
Merged

Sort goals by name in UI #22279

merged 2 commits into from
Jun 10, 2024

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Jun 3, 2024

Description:

Goals are currently sorted by their ID all across Matomo. This makes it hard to find a specific goal in the UI, as the IDs aren't visible (besides in Management).
To make the UI more use friendly this PR changes the sort of Goals in UI only. API responses will be still sorted by id.

Changed places:

  • Goal management
  • Goal listing in menu
  • Goal sparklines in goal overview
  • Goal listing in goal report table

fixes #17950

Review

@sgiehl sgiehl added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review labels Jun 3, 2024
@sgiehl sgiehl added this to the 5.2.0 milestone Jun 3, 2024
@sgiehl sgiehl requested a review from a team June 3, 2024 16:35
@sgiehl sgiehl requested a review from mneudert June 7, 2024 07:41
@sgiehl sgiehl merged commit 470948f into 5.x-dev Jun 10, 2024
@sgiehl sgiehl deleted the dev-14205 branch June 10, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review
Development

Successfully merging this pull request may close these issues.

Sort goals alphabetically in "Manage Goals" and other places where Goals are listed
4 participants