Private GIT

Skip to content
Snippets Groups Projects
Commit 6563e19d authored by miigotu's avatar miigotu
Browse files

Merge pull request #2506 from MGaetan89/feature/2567_history_db

Only select required field in history
parents 7e2bff9c f00e9a4a
Branches
Tags
No related merge requests found
...@@ -38,7 +38,7 @@ class History: ...@@ -38,7 +38,7 @@ class History:
else: else:
actions = [] actions = []
common_sql = 'SELECT h.*, show_name ' \ common_sql = 'SELECT action, date, episode, provider, h.quality, resource, season, show_name, showid ' \
'FROM history h, tv_shows s ' \ 'FROM history h, tv_shows s ' \
'WHERE h.showid = s.indexer_id ' 'WHERE h.showid = s.indexer_id '
filter_sql = 'AND action in (' + ','.join(['?'] * len(actions)) + ') ' filter_sql = 'AND action in (' + ','.join(['?'] * len(actions)) + ') '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment