Describe the feature
The package filter on an org page can be pre-populated via the q query param, but the search phrase is only applied to the "Name" field. There is currently no way to share a link that e.g. filters by "Description".
Suggested changes
- Persist all non-default filter options to the URL as query param. E.g., selecting "Description" from the filter settings would update the URL to include
&search=description, but selecting "Name" would remove the param.
- Set the initial filter values from the query string.
Example scenario
Go to https://npmx.dev/org/lezer, select the "Description" field and enter "grammar". You should then be able to share a URL that prefilters the package list down to ~14 entries, all having "grammar" in their description.
Additional information
Final checks
Describe the feature
The package filter on an org page can be pre-populated via the
qquery param, but the search phrase is only applied to the "Name" field. There is currently no way to share a link that e.g. filters by "Description".Suggested changes
&search=description, but selecting "Name" would remove the param.Example scenario
Go to https://npmx.dev/org/lezer, select the "Description" field and enter "grammar". You should then be able to share a URL that prefilters the package list down to ~14 entries, all having "grammar" in their description.
Additional information
Final checks