Commit 8c90243e authored by echel0n's avatar echel0n
Browse files

Pre-Release v9.3.56.dev10

parent 133d2ef3
# Changelog # Changelog
- * ba43911 - 2018-07-29: Added categories to quicksearch for both tv shows and tv episodes - * 64f683a - 2018-07-31: Pre-Release v9.3.56.dev10
- * 133d2ef - 2018-07-29: Added categories to quicksearch for both tv shows and tv episodes
- * f33330a - 2018-07-28: Pre-Release v9.3.56.dev9 - * f33330a - 2018-07-28: Pre-Release v9.3.56.dev9
- * 4088edc - 2018-07-28: Added back table column selection for shows, show, and schedule views Fixed sorting for all tables Fixed filtering for all tables - * 4088edc - 2018-07-28: Added back table column selection for shows, show, and schedule views Fixed sorting for all tables Fixed filtering for all tables
- * 7020ea5 - 2018-07-28: Reverted text-nowrap class for schedule view table episode name column - * 7020ea5 - 2018-07-28: Reverted text-nowrap class for schedule view table episode name column
......
...@@ -40,11 +40,9 @@ class QuicksearchCache(object): ...@@ -40,11 +40,9 @@ class QuicksearchCache(object):
sickrage.app.log.debug("Loaded {} episodes to QuickSearch cache".format(len(self.cache['episodes']))) sickrage.app.log.debug("Loaded {} episodes to QuickSearch cache".format(len(self.cache['episodes'])))
def get_shows(self, term): def get_shows(self, term):
# return [d for d in sickrage.app.cache_db.all('quicksearch_shows') if term.lower() in d['name'].lower()]
return [d for d in self.cache['shows'].values() if term.lower() in d['name'].lower()] return [d for d in self.cache['shows'].values() if term.lower() in d['name'].lower()]
def get_episodes(self, term): def get_episodes(self, term):
# return [d for d in sickrage.app.cache_db.all('quicksearch_episodes') if term.lower() in d['name'].lower()]
return [d for d in self.cache['episodes'].values() if term.lower() in d['name'].lower()] return [d for d in self.cache['episodes'].values() if term.lower() in d['name'].lower()]
def update_show(self, indexerid): def update_show(self, indexerid):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment