1
0
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:
ManiMatter
2024-09-08 19:56:11 +02:00
committed by GitHub
parent e11339fb83
commit 0361299a73
8 changed files with 49 additions and 5 deletions
@@ -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.",
+3 -1
View File
@@ -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,
};
}