fix(dbfs): file uri name_or op should be compatiable with older version
This commit is contained in:
2
assets
2
assets
Submodule assets updated: 815f5857f0...b3f4a0549b
@@ -23,6 +23,7 @@ const (
|
||||
const (
|
||||
QuerySearchName = "name"
|
||||
QuerySearchNameOpOr = "name_op_or"
|
||||
QuerySearchUseOr = "use_or"
|
||||
QuerySearchMetadataPrefix = "meta_"
|
||||
QuerySearchCaseFolding = "case_folding"
|
||||
QuerySearchType = "type"
|
||||
@@ -230,6 +231,10 @@ func (u *URI) SearchParameters() *inventory.SearchFileParameters {
|
||||
res.NameOperatorOr = true
|
||||
}
|
||||
|
||||
if _, ok := q[QuerySearchUseOr]; ok {
|
||||
res.NameOperatorOr = true
|
||||
}
|
||||
|
||||
if _, ok := q[QuerySearchCaseFolding]; ok {
|
||||
res.CaseFolding = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user