More features for search.

This commit is contained in:
Yaro Kasear 2025-09-29 14:34:15 -05:00
parent 9a39ae25df
commit 3a9dd7b915
3 changed files with 8 additions and 3 deletions

View file

@ -840,6 +840,9 @@ def _format_value(val: Any, fmt: Optional[str]) -> Any:
if fmt is None:
return val
try:
if callable(fmt):
return fmt(val)
if fmt == "yesno":
return "Yes" if bool(val) else "No"
if fmt == "date":