mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
New: Last Searched column on Wanted screens (#10392)
* Adding lastSearchTime to API and "Last Searched" to Frontend (cutoff unmet & missing) Picking lastSearchTime from movie instead of movieMetaData --------- Co-authored-by: Bogdan <mynameisbogdan@users.noreply.github.com>
This commit is contained in:
@@ -820,6 +820,7 @@
|
||||
"Large": "Large",
|
||||
"LastDuration": "Last Duration",
|
||||
"LastExecution": "Last Execution",
|
||||
"LastSearched": "Last Searched",
|
||||
"LastUsed": "Last Used",
|
||||
"LastWriteTime": "Last Write Time",
|
||||
"LaunchBrowserHelpText": " Open a web browser and navigate to the {appName} homepage on app start.",
|
||||
|
||||
@@ -83,6 +83,7 @@ namespace Radarr.Api.V3.Movies
|
||||
public MovieFileResource MovieFile { get; set; }
|
||||
public MovieCollectionResource Collection { get; set; }
|
||||
public float Popularity { get; set; }
|
||||
public DateTime? LastSearchTime { get; set; }
|
||||
public MovieStatisticsResource Statistics { get; set; }
|
||||
|
||||
// Hiding this so people don't think its usable (only used to set the initial state)
|
||||
@@ -161,7 +162,8 @@ namespace Radarr.Api.V3.Movies
|
||||
YouTubeTrailerId = model.MovieMetadata.Value.YouTubeTrailerId,
|
||||
Studio = model.MovieMetadata.Value.Studio,
|
||||
Collection = collection,
|
||||
Popularity = model.MovieMetadata.Value.Popularity
|
||||
Popularity = model.MovieMetadata.Value.Popularity,
|
||||
LastSearchTime = model.LastSearchTime,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user