Cache only used in case of search term

This commit is contained in:
JigSawFr 2015-12-29 11:30:55 +01:00
parent e9ae2d4cd8
commit 29bde68337
1 changed files with 2 additions and 2 deletions

View File

@ -175,8 +175,8 @@ namespace Jackett.Indexers
var searchTerm = query.GetQueryString();
var searchUrl = SearchUrl;
// Check cache first so we don't query the server
if(!DevMode)
// Check cache first so we don't query the server (if search term used or not in dev mode)
if(!DevMode && !string.IsNullOrEmpty(searchTerm))
{
lock (cache)
{