feat(api): improve ID resolution in search and enable presenter file count

- In lib_sql_search, added a fallback to resolve random string IDs via Redis
  when the view lacks a dedicated _id_random column.
- Un-commented file_count in Event_Presenter_Out_Base to support file
  tracking for presenters.
This commit is contained in:
Scott Idem
2026-01-29 17:09:41 -05:00
parent 51b24a466a
commit 0de6058639
2 changed files with 13 additions and 5 deletions

View File

@@ -334,7 +334,7 @@ class Event_Presenter_Out_Base(BaseModel):
data_json: Optional[Union[Json, None]] # For key value data. Careful with overwriting existing fields!
cfg_json: Optional[Union[Json, None]] # Store per presenter config options like theme, language, etc
# file_count: Optional[int]
file_count: Optional[int]
# General catchall for agreement or consent
agree: Optional[bool]