mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Multiple scene URLs (#3852)
* Add URLs scene relationship * Update unit tests * Update scene edit and details pages * Update scrapers to use urls * Post-process scenes during query scrape * Update UI for URLs * Change urls label
This commit is contained in:
@@ -1065,9 +1065,11 @@ func makeScene(i int) *models.Scene {
|
||||
rating := getRating(i)
|
||||
|
||||
return &models.Scene{
|
||||
Title: title,
|
||||
Details: details,
|
||||
URL: getSceneEmptyString(i, urlField),
|
||||
Title: title,
|
||||
Details: details,
|
||||
URLs: models.NewRelatedStrings([]string{
|
||||
getSceneEmptyString(i, urlField),
|
||||
}),
|
||||
Rating: getIntPtr(rating),
|
||||
OCounter: getOCounter(i),
|
||||
Date: getObjectDate(i),
|
||||
|
||||
Reference in New Issue
Block a user