Werk #19359 · Mar 16, 26
Fix drag-and-drop reordering in sortable tables
Previously, reordering items via drag-and-drop in certain tables silently failed. The tag groups table on the Tag groups page was the most prominent case: dragging a tag group to a new position would trigger a "Changed order of tag groups" pending change, but the actual order remained unchanged.
The root cause was that these tables were sortable by column header (the default), which conflicts with manual drag-and-drop reordering. If you had ever clicked a column header to sort, that preference was persisted, and on every subsequent page load the rows were re-sorted — overriding any manual reorder you attempted. Worse, the mismatch between sorted display positions and internal data indices could silently corrupt the saved order.
This fix disables column sorting on tables that support drag-and-drop reordering: tag groups, alert handler rules, report content elements, and user connection lists.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b1All Editions
- 2.4.0p26All Editions