mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #11413] [MERGED] fix: Prevent modification of global filter settings in "Admin panel" - "Settings" - "Models" #61585
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11413
Author: @hurxxxx
Created: 3/8/2025
Status: ✅ Merged
Merged: 3/8/2025
Merged by: @tjbck
Base:
dev← Head:fix/global-filter-cannot-disable📝 Commits (3)
3b70cd6Merge pull request #11257 from open-webui/dev851931ffix: Global filter cannot be modified in the model (changes have no effect)40257affix: Using disabled attribute for elements is common📊 Changes
2 files changed (+11 additions, -4 deletions)
View changed files
📝
src/lib/components/common/Checkbox.svelte(+5 -1)📝
src/lib/components/workspace/Models/FiltersSelector.svelte(+6 -3)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
filter.py:get_sorted_filter_ids, the global filter is always applied. Therefore, the global filter setting in the model settings cannot be modified, and the checkbox appears astruebut is not actually saved.Changed
Screenshots or Videos
https://github.com/user-attachments/assets/feb5b716-c060-4fba-b5dd-2ab818599715
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.