Empty searches in search history now show

Fixed: Empty searches will show up in search history
pull/2/head
Mark McDowall 12 years ago
parent 9538559f61
commit d1f9bdf0ec

@ -70,7 +70,7 @@ namespace NzbDrone.Core.Providers
ON Series.SeriesId = SearchHistory.SeriesId ON Series.SeriesId = SearchHistory.SeriesId
LEFT JOIN Episodes LEFT JOIN Episodes
ON Episodes.EpisodeId = SearchHistory.EpisodeId ON Episodes.EpisodeId = SearchHistory.EpisodeId
INNER JOIN SearchHistoryItems LEFT JOIN SearchHistoryItems
ON SearchHistoryItems.SearchHistoryId = SearchHistory.Id ON SearchHistoryItems.SearchHistoryId = SearchHistory.Id
GROUP BY SearchHistory.Id, SearchHistory.SeriesId, SearchHistory.SeasonNumber, GROUP BY SearchHistory.Id, SearchHistory.SeriesId, SearchHistory.SeasonNumber,
SearchHistory.EpisodeId, SearchHistory.SearchTime, SearchHistory.EpisodeId, SearchHistory.SearchTime,

Loading…
Cancel
Save