mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-27 23:06:29 -04:00
Fixed: Cutoff unmet searches rejecting releases incorrectly
This commit is contained in:
@@ -100,7 +100,15 @@ class CutoffUnmet extends Component {
|
||||
}
|
||||
|
||||
onSearchAllCutoffUnmetConfirmed = () => {
|
||||
this.props.onSearchAllCutoffUnmetPress();
|
||||
const {
|
||||
selectedFilterKey,
|
||||
onSearchAllCutoffUnmetPress
|
||||
} = this.props;
|
||||
|
||||
// TODO: Custom filters will need to check whether there is a monitored
|
||||
// filter once implemented.
|
||||
|
||||
onSearchAllCutoffUnmetPress(selectedFilterKey === 'monitored');
|
||||
this.setState({ isConfirmSearchAllCutoffUnmetModalOpen: false });
|
||||
}
|
||||
|
||||
|
||||
@@ -130,9 +130,10 @@ class CutoffUnmetConnector extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
onSearchAllCutoffUnmetPress = () => {
|
||||
onSearchAllCutoffUnmetPress = (monitored) => {
|
||||
this.props.executeCommand({
|
||||
name: commandNames.CUTOFF_UNMET_EPISODE_SEARCH
|
||||
name: commandNames.CUTOFF_UNMET_EPISODE_SEARCH,
|
||||
monitored
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -97,7 +97,15 @@ class Missing extends Component {
|
||||
}
|
||||
|
||||
onSearchAllMissingConfirmed = () => {
|
||||
this.props.onSearchAllMissingPress();
|
||||
const {
|
||||
selectedFilterKey,
|
||||
onSearchAllMissingPress
|
||||
} = this.props;
|
||||
|
||||
// TODO: Custom filters will need to check whether there is a monitored
|
||||
// filter once implemented.
|
||||
|
||||
onSearchAllMissingPress(selectedFilterKey === 'monitored');
|
||||
this.setState({ isConfirmSearchAllMissingModalOpen: false });
|
||||
}
|
||||
|
||||
|
||||
@@ -121,9 +121,10 @@ class MissingConnector extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
onSearchAllMissingPress = () => {
|
||||
onSearchAllMissingPress = (monitored) => {
|
||||
this.props.executeCommand({
|
||||
name: commandNames.MISSING_EPISODE_SEARCH
|
||||
name: commandNames.MISSING_EPISODE_SEARCH,
|
||||
monitored
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user