mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
cast(document_metadata["key"], String) generates CAST(col->'key' AS TEXT) which preserves JSON string quotes (e.g. '"Fix login bug"'), causing case-insensitive comparisons to never match. Replace with .astext which generates the ->> operator (unquoted text extraction), making issue lookups by title and identifier work correctly. |
||
|---|---|---|
| .. | ||
| agents | ||
| config | ||
| connectors | ||
| prompts | ||
| retriever | ||
| routes | ||
| schemas | ||
| services | ||
| tasks | ||
| utils | ||
| __init__.py | ||
| app.py | ||
| celery_app.py | ||
| db.py | ||
| users.py | ||