Related files/folder filter for scenes/images/galleries (#6158)

* Add related files filter to scene filter
* Add files_filter to gallery filter
* Add files_filter to image filter
* Add gallery related folder filter
This commit is contained in:
WithoutPants
2025-11-06 17:25:59 +11:00
committed by GitHub
parent 04fcf6f512
commit a50a0d4289
12 changed files with 129 additions and 20 deletions

View File

@@ -362,3 +362,13 @@ func coalesce(column string) string {
func like(v string) string {
return "%" + v + "%"
}
type sqlTable string
func (t sqlTable) Name() string {
return string(t)
}
func (t sqlTable) Col(n string) string {
return fmt.Sprintf("%s.%s", string(t), n)
}