getpatchwork / patchwork

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
http://jk.ozlabs.org/projects/patchwork/
GNU General Public License v2.0
276 stars 82 forks source link

Series link: include state ID in the URL #592

Open matttbe opened 4 months ago

matttbe commented 4 months ago

Hello,

First, thank you for developing and maintaining this great tool!

Could it be possible to duplicate the state=(...) in the URL of a series?

For example, if I'm on a page: /project/${PROJECT}/list/?state=*, and I click on a series name, it will redirect me to /project/${PROJECT}/list/?series=${SERIES_ID}. If the patches are in a non "Action Required" state, the list will be empty, I then need to change the filter again.

Could it be possible to amend the URL to add &state=${STATE} if the state was previous set? So to redirect to /project/${PROJECT}/list/?series=${SERIES_ID}&state=${STATE} instead.

kuba-moo commented 4 months ago

Sounds too familiar... I think there's already an issue like this, maybe #160 ? :)

matttbe commented 4 months ago

Wow, "sounds too familiar", from 6 years ago, good memory! :-D

Indeed, it is a duplicated one, sorry, I didn't search that far back.

160 has a bug label, while this one has a enhancement one. Still OK to close this one here?