mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Gallery URLs (#4114)
* Initial backend changes * Fix unit tests * UI changes * Fix missing URL filters
This commit is contained in:
@@ -66,8 +66,8 @@ func queryURLParametersFromGallery(gallery *models.Gallery) queryURLParameters {
|
||||
ret["title"] = gallery.Title
|
||||
}
|
||||
|
||||
if gallery.URL != "" {
|
||||
ret["url"] = gallery.URL
|
||||
if len(gallery.URLs.List()) > 0 {
|
||||
ret["url"] = gallery.URLs.List()[0]
|
||||
}
|
||||
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user