fix: world.json data_filter补第二条件——DBFilter要求AND数组>=2,单条件导致get_world.dspy 500

This commit is contained in:
agent.develop 2026-08-31 08:35:42 +08:00
parent 5eb9ca3b20
commit d6fdb770e0

View File

@ -2,20 +2,44 @@
"tblname": "world", "tblname": "world",
"title": "世界管理", "title": "世界管理",
"params": { "params": {
"sortby": ["created_at desc"], "sortby": [
"created_at desc"
],
"data_filter": { "data_filter": {
"AND": [ "AND": [
{"field": "name", "op": "LIKE", "var": "name"} {
"field": "name",
"op": "LIKE",
"var": "name"
},
{
"field": "status",
"op": "=",
"var": "status"
}
] ]
}, },
"browserfields": { "browserfields": {
"exclouded": ["id", "description", "config_json"], "exclouded": [
"id",
"description",
"config_json"
],
"alters": { "alters": {
"world_type": {"uitype": "code", "dataurl": "{{entire_url('../api/get_search_world_type.dspy')}}"}, "world_type": {
"status": {"uitype": "code", "dataurl": "{{entire_url('../api/get_search_status.dspy')}}"} "uitype": "code",
"dataurl": "{{entire_url('../api/get_search_world_type.dspy')}}"
},
"status": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_search_status.dspy')}}"
}
} }
}, },
"editexclouded": ["created_at", "updated_at"], "editexclouded": [
"created_at",
"updated_at"
],
"editable": { "editable": {
"new_data_url": "{{entire_url('../api/create_world.dspy')}}", "new_data_url": "{{entire_url('../api/create_world.dspy')}}",
"update_data_url": "{{entire_url('../api/world_update.dspy')}}", "update_data_url": "{{entire_url('../api/world_update.dspy')}}",