Search: Reduce chroma threshold for mono filter to 0 #596
This commit is contained in:
parent
5f94f023ef
commit
7b5ae77e61
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ func PhotoSearch(f form.PhotoSearch) (results PhotoResults, count int, err error
|
|||
}
|
||||
|
||||
if f.Mono {
|
||||
s = s.Where("files.file_chroma < 2 OR file_colors = '111111111'")
|
||||
s = s.Where("files.file_chroma = 0 OR file_colors = '111111111'")
|
||||
} else if f.Chroma > 9 {
|
||||
s = s.Where("files.file_chroma > ?", f.Chroma)
|
||||
} else if f.Chroma > 0 {
|
||||
|
|
Loading…
Reference in a new issue