fix: world.json data_filter补第二条件——DBFilter要求AND数组>=2,单条件导致get_world.dspy 500
This commit is contained in:
parent
5eb9ca3b20
commit
d6fdb770e0
@ -1,25 +1,49 @@
|
||||
{
|
||||
"tblname": "world",
|
||||
"title": "世界管理",
|
||||
"params": {
|
||||
"sortby": ["created_at desc"],
|
||||
"data_filter": {
|
||||
"AND": [
|
||||
{"field": "name", "op": "LIKE", "var": "name"}
|
||||
]
|
||||
"tblname": "world",
|
||||
"title": "世界管理",
|
||||
"params": {
|
||||
"sortby": [
|
||||
"created_at desc"
|
||||
],
|
||||
"data_filter": {
|
||||
"AND": [
|
||||
{
|
||||
"field": "name",
|
||||
"op": "LIKE",
|
||||
"var": "name"
|
||||
},
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "description", "config_json"],
|
||||
"alters": {
|
||||
"world_type": {"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"],
|
||||
"editable": {
|
||||
"new_data_url": "{{entire_url('../api/create_world.dspy')}}",
|
||||
"update_data_url": "{{entire_url('../api/world_update.dspy')}}",
|
||||
"delete_data_url": "{{entire_url('../api/world_delete.dspy')}}"
|
||||
{
|
||||
"field": "status",
|
||||
"op": "=",
|
||||
"var": "status"
|
||||
}
|
||||
]
|
||||
},
|
||||
"browserfields": {
|
||||
"exclouded": [
|
||||
"id",
|
||||
"description",
|
||||
"config_json"
|
||||
],
|
||||
"alters": {
|
||||
"world_type": {
|
||||
"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"
|
||||
],
|
||||
"editable": {
|
||||
"new_data_url": "{{entire_url('../api/create_world.dspy')}}",
|
||||
"update_data_url": "{{entire_url('../api/world_update.dspy')}}",
|
||||
"delete_data_url": "{{entire_url('../api/world_delete.dspy')}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user