open-webui/backend/open_webui/models
Classic298 d6b19dcaa1
fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423)
On PostgreSQL with ENABLE_ORJSON off (the default), searching automations by a word from their prompt, or filtering models by a tag, found nothing when the word was non-ASCII, for example Chinese. SQLite, and PostgreSQL with ENABLE_ORJSON on, were fine. With the default setting non-ASCII text is saved as \uXXXX codes, and PostgreSQL reads the backslash in a search pattern as a special character, so the search never matched. Special characters in the search text are now taken literally, so these searches work on both databases, and a % or _ typed into them now matches only itself.

Fixes #31422
2026-09-27 23:09:54 +04:00
..
access_grants.py refac 2026-09-22 13:13:22 -04:00
auths.py refac 2026-09-15 22:47:03 -04:00
automations.py fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423) 2026-09-27 23:09:54 +04:00
calendar.py refac 2026-09-21 08:59:39 -04:00
channels.py refac 2026-09-15 22:47:03 -04:00
chat_messages.py fix: apply the group filter to the Analytics hourly chart (#30978) 2026-09-24 12:11:13 -04:00
chats.py fix: remove the share links of chats deleted along with their folder (#31306) 2026-09-26 07:27:49 +04:00
config.py refac 2026-08-13 15:02:18 -06:00
feedbacks.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
files.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
folders.py fix: keep folder parent references acyclic (#28748) 2026-08-24 17:06:19 -04:00
functions.py fix: prevent startup crash when function/tool has null user_id (#26850) 2026-07-24 00:00:37 -05:00
groups.py perf: index group_member on (user_id, group_id) (#27822) 2026-07-31 19:09:15 -05:00
knowledge.py refac 2026-09-21 10:19:59 -04:00
memories.py refac 2026-07-24 01:54:36 -04:00
messages.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
models.py fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423) 2026-09-27 23:09:54 +04:00
notes.py refac 2026-08-10 19:46:46 -06:00
oauth_sessions.py refac 2026-07-31 17:41:14 -04:00
prompt_history.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
prompts.py fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423) 2026-09-27 23:09:54 +04:00
shared_chats.py feat(ui): add 'Unshare All Shared Chats' button to Shared Chats modal (#25848) 2026-06-17 03:06:41 +02:00
skills.py refac 2026-09-04 18:31:59 -04:00
tags.py perf: build debug log messages lazily so disabled debug logs cost nothing (#27834) 2026-07-31 19:09:01 -05:00
tools.py refac 2026-09-04 18:31:59 -04:00
users.py refac 2026-09-17 20:11:05 -04:00