Fix SQL error in 8K resolution filter (#1159)

This commit is contained in:
gitgiggety
2021-03-01 06:06:57 +01:00
committed by GitHub
parent 7cfff46d02
commit 4825de7d35
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ func (qb *imageQueryBuilder) Query(imageFilter *models.ImageFilterType, findFilt
case "SIX_K":
query.addWhere("(MIN(images.height, images.width) >= 3384 AND MIN(images.height, images.width) < 4320)")
case "EIGHT_K":
query.addWhere("(MIN(images.height, images.width) >= 4320")
query.addWhere("MIN(images.height, images.width) >= 4320")
}
}
}