openproject icon indicating copy to clipboard operation
openproject copied to clipboard

Bug/53329 query lost when sorting the project table quickly

Open toy opened this issue 1 year ago • 0 comments

OP#53329

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.

toy avatar May 27 '24 18:05 toy