mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user