mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
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 |
||
|---|---|---|
| .. | ||
| apis | ||
| components | ||
| constants | ||
| i18n | ||
| pyodide | ||
| stores | ||
| types | ||
| utils | ||
| workers | ||
| constants.ts | ||
| dayjs.js | ||
| emoji-groups.json | ||
| emoji-shortcodes.json | ||
| index.ts | ||
| shortcuts.ts | ||