openproject
openproject copied to clipboard
Bug/53329 query lost when sorting the project table quickly
The source of the problem is that stimulus starts only after DOM is loaded and we rely on a stimulus controller to copy parameters from current url to links and forms, so interacting with any links/forms before DOM is loaded will cause params to be lost. Parameters were already partially copied for sorting and pagination links, as well as for filters form. But those were all inconsistent, were not copying pagination parameters (when relevant), so it felt cleaner to just copy params to all links on backend instead of relying on frontend.