diff --git a/pkg/search/expr.go b/pkg/search/expr.go index 3e1a09135..90fe6f7a3 100644 --- a/pkg/search/expr.go +++ b/pkg/search/expr.go @@ -158,7 +158,7 @@ func parseExpression(ctx *context.Context, exp string) (*SearchQuery, error) { continue } if word == "is:pano" { - andWHRatio(&FloatConstraint{Min: 1.6}) + andWHRatio(&FloatConstraint{Min: 2.0}) continue } if word == "has:location" { diff --git a/pkg/search/expr_test.go b/pkg/search/expr_test.go index d576a9909..9bf0e6c81 100644 --- a/pkg/search/expr_test.go +++ b/pkg/search/expr_test.go @@ -62,7 +62,7 @@ var parseExprTests = []struct { File: &FileConstraint{ IsImage: true, WHRatio: &FloatConstraint{ - Min: 1.6, + Min: 2.0, }, }, },