mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Multiple image URLs (#4000)
* Backend changes - ported from scene impl * Front end changes * Refactor URL mutation code
This commit is contained in:
@@ -53,7 +53,7 @@ func createFullImage(id int) models.Image {
|
||||
OCounter: ocounter,
|
||||
Rating: &rating,
|
||||
Date: &dateObj,
|
||||
URL: url,
|
||||
URLs: models.NewRelatedStrings([]string{url}),
|
||||
Organized: organized,
|
||||
CreatedAt: createTime,
|
||||
UpdatedAt: updateTime,
|
||||
@@ -66,7 +66,7 @@ func createFullJSONImage() *jsonschema.Image {
|
||||
OCounter: ocounter,
|
||||
Rating: rating,
|
||||
Date: date,
|
||||
URL: url,
|
||||
URLs: []string{url},
|
||||
Organized: organized,
|
||||
Files: []string{path},
|
||||
CreatedAt: json.JSONTime{
|
||||
|
||||
Reference in New Issue
Block a user