From 899868f51e047236f364004f4c1a2984527e4efb Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 17 May 2013 21:32:46 +0200 Subject: [PATCH] Don't show empty message when search --- couchpotato/core/plugins/movie/static/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/movie/static/list.js b/couchpotato/core/plugins/movie/static/list.js index 7e606abf..28195543 100644 --- a/couchpotato/core/plugins/movie/static/list.js +++ b/couchpotato/core/plugins/movie/static/list.js @@ -133,7 +133,7 @@ var MovieList = new Class({ self.empty_message = null; } - if(count == 0 && !self.empty_message){ + if(self.total_movies && count == 0 && !self.empty_message){ var message = (self.filter.search ? 'for "'+self.filter.search+'"' : '') + (self.filter.starts_with ? ' in '+self.filter.starts_with+'' : '');