feat: search form code fields auto-add prepend_all=1 to dataurl

InlineForm search fields with uitype='code' now get dataurl with
?prepend_all=1 so get_code.dspy adds a '全部' empty-value option.
This commit is contained in:
Hermes Agent 2026-06-22 12:11:52 +08:00
parent 66bd6339df
commit 9356b8ae36
2 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ def build_filter_field_list(desc) -> list:
}
if ccond:
field_def['params']['cond'] = ccond
field_def['dataurl'] = "{{entire_url('/appbase/get_code.dspy')}}"
field_def['dataurl'] = "{{entire_url('/appbase/get_code.dspy')}}?prepend_all=1"
result.append(field_def)
return result