mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
Previously, when list_render.create was called, if a list_render object with the given name existed, it returned the existing list_render object with the previous properties, without the property to sort the lists added. The root cause of the bug was that when we added the sorting click handlers, we put them just in the constructor, not in __set_events, the function we call from appropriate code paths to add the other necessary click handlers. Fix this by moving the code to add the sorting properties into __set_events(). Fixes #14175.
14 KiB
14 KiB