diff --git a/frontend/src/Store/Actions/wantedActions.js b/frontend/src/Store/Actions/wantedActions.js
index bb7b989c9..c9f9d7cf6 100644
--- a/frontend/src/Store/Actions/wantedActions.js
+++ b/frontend/src/Store/Actions/wantedActions.js
@@ -45,6 +45,12 @@ export const defaultState = {
isSortable: true,
isVisible: true
},
+ {
+ name: 'books.lastSearchTime',
+ label: 'Last Searched',
+ isSortable: true,
+ isVisible: false
+ },
{
name: 'actions',
columnLabel: 'Actions',
@@ -108,6 +114,12 @@ export const defaultState = {
isSortable: true,
isVisible: true
},
+ {
+ name: 'books.lastSearchTime',
+ label: 'Last Searched',
+ isSortable: true,
+ isVisible: false
+ },
{
name: 'actions',
columnLabel: 'Actions',
diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js
index 23023dd45..17ea17cd1 100644
--- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js
+++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetConnector.js
@@ -131,13 +131,15 @@ class CutoffUnmetConnector extends Component {
onSearchSelectedPress = (selected) => {
this.props.executeCommand({
name: commandNames.BOOK_SEARCH,
- bookIds: selected
+ bookIds: selected,
+ commandFinished: this.repopulate
});
};
onSearchAllCutoffUnmetPress = () => {
this.props.executeCommand({
- name: commandNames.CUTOFF_UNMET_BOOK_SEARCH
+ name: commandNames.CUTOFF_UNMET_BOOK_SEARCH,
+ commandFinished: this.repopulate
});
};
diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js
index 2462519fc..e5eea8a67 100644
--- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js
+++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js
@@ -16,6 +16,7 @@ function CutoffUnmetRow(props) {
releaseDate,
titleSlug,
title,
+ lastSearchTime,
disambiguation,
isSelected,
columns,
@@ -68,6 +69,15 @@ function CutoffUnmetRow(props) {
);
}
+ if (name === 'books.lastSearchTime') {
+ return (
+
+ );
+ }
+
if (name === 'releaseDate') {
return (
{
this.props.executeCommand({
name: commandNames.BOOK_SEARCH,
- bookIds: selected
+ bookIds: selected,
+ commandFinished: this.repopulate
});
};
onSearchAllMissingPress = () => {
this.props.executeCommand({
- name: commandNames.MISSING_BOOK_SEARCH
+ name: commandNames.MISSING_BOOK_SEARCH,
+ commandFinished: this.repopulate
});
};
diff --git a/frontend/src/Wanted/Missing/MissingRow.js b/frontend/src/Wanted/Missing/MissingRow.js
index 8efa1ada5..4e43ff696 100644
--- a/frontend/src/Wanted/Missing/MissingRow.js
+++ b/frontend/src/Wanted/Missing/MissingRow.js
@@ -16,6 +16,7 @@ function MissingRow(props) {
releaseDate,
titleSlug,
title,
+ lastSearchTime,
disambiguation,
isSelected,
columns,
@@ -77,6 +78,15 @@ function MissingRow(props) {
);
}
+ if (name === 'books.lastSearchTime') {
+ return (
+
+ );
+ }
+
if (name === 'actions') {
return (
Editions { get; set; }
//Hiding this so people don't think its usable (only used to set the initial state)
@@ -80,6 +81,7 @@ namespace Readarr.Api.V1.Books
Links = model.Links.Concat(selectedEdition?.Links ?? new List()).ToList(),
Ratings = selectedEdition?.Ratings ?? new Ratings(),
Added = model.Added,
+ LastSearchTime = model.LastSearchTime
};
}