Werk #19359: Fix drag-and-drop reordering in sortable tables
| Component | Setup | ||||||
| Title | Fix drag-and-drop reordering in sortable tables | ||||||
| Date | Mar 16, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.