Based on https://pagure.io/pagure/issue/4464#comment-624915 , modify the ordering key when we search pull requests with last_updated ordering_key
last_updated
I choose to keep last_updated as key to keep backward compatibility
The previous PR included updating the timestamp when a pr was flagged.
I would like to add it here too, but don't know wich of them should I update
rebased onto 6f0ec0592e2189e37aca21575bf6834e1113f47e
:thumbsup:
The way I see it, we likely never want to touch last_updated for PRs (and I just realized that for issue last_updated is basically the equivalent of updated_on for PRs, damn this is not going to help to make things clear in the future :s).
updated_on
I would like to add it here too, but don't know wich of them should I update The way I see it, we likely never want to touch last_updated for PRs (and I just realized that for issue last_updated is basically the equivalent of updated_on for PRs, damn this is not going to help to make things clear in the future :s).
And the last_updated api key for order internally is updated_on, Which is nice for external pow since both issues and PRs share key name, but internally is going to confuse even more
1 new commit added
update updated_on on add_pull_request_flag
templates/issues.html: render updated_on instead of last_updated on related pull request's info
Let's get this in, thanks!
Pull-Request has been merged by pingou
Based on https://pagure.io/pagure/issue/4464#comment-624915 , modify the ordering key when we search pull requests with
last_updatedordering_keyI choose to keep
last_updatedas key to keep backward compatibility