open-webui/src
Classic298 9db68981d8
feat: allow reordering admin models while a search or filter is active (#30390)
On Admin Settings > Models the drag handle was disabled as soon as a search, view or tag filter was active, so on a long list the only way to move a model was to clear everything and hunt for it by eye.

Dragging now works in any filtered list. The move is applied to the full order: the dragged model is placed directly after the visible model it was dropped below (or directly before the one it was dropped above), and every model hidden by the filter keeps its place. That anchoring is what makes reordering a subset safe, which is why the filters previously blocked it.

The tag filter now filters the loaded list client-side like search and view already do. Before, it reloaded the page data and rebuilt the order from only the tagged models, so saving under a tag would have dropped every other model from the order, and switching tags discarded unsaved moves. Export keeps its existing tag-filtered behaviour.

Verified in the browser with search, view (enabled/disabled) and tag filters, dragging up and down, multiple moves before one save and switching tags with unsaved moves; the saved order always contains every model.

Closes #29634
2026-09-23 23:48:05 -04:00
..
lib feat: allow reordering admin models while a search or filter is active (#30390) 2026-09-23 23:48:05 -04:00
routes fix: emit the resolved file path in terminal file events (#30282) 2026-09-21 00:31:14 -04:00
app.css refac 2026-09-10 19:05:36 -04:00
app.d.ts chat feature added 2023-10-08 15:38:42 -07:00
app.html refac 2026-07-27 19:39:36 -04:00
tailwind.css chore: format 2026-08-31 10:48:28 -04:00