Skip to content

Default sorting on org page doesn't match query params #2471

@ArnaudBarre

Description

@ArnaudBarre

Describe the bug

  • https://npmx.dev/org/arnaud-barre -> Sort dropdown is Downloads/wk
  • Change to Last published, no URL change
  • Change back to Downloads/wk, ?sort=downloads-week-desc is append to the URL

The makes it annoying in the following flow:

  • Change to last published, click the first one
  • Navigate back, you don't get back the list order

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions