mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-02 17:33:37 +00:00
Merge branch 'feature/FixResultsSort' into develop
This commit is contained in:
commit
74c585a0d2
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
|
* Fix sorting results
|
||||||
|
|
||||||
|
|
||||||
### 0.17.5 (2018-09-08 13:20:00 UTC)
|
### 0.17.5 (2018-09-08 13:20:00 UTC)
|
||||||
|
|
|
@ -3227,9 +3227,9 @@ class NewHomeAddShows(Home):
|
||||||
reverse=False, key=lambda x: x[idx_src]), is_last_sort)
|
reverse=False, key=lambda x: x[idx_src]), is_last_sort)
|
||||||
|
|
||||||
if 'az' == sickbeard.RESULTS_SORTBY[:2]:
|
if 'az' == sickbeard.RESULTS_SORTBY[:2]:
|
||||||
sort_results = [sort_date, sort_rel, sort_za, sort_az]
|
sort_results = [sort_oldest, sort_newest, sort_rel, sort_za, sort_az]
|
||||||
elif 'za' == sickbeard.RESULTS_SORTBY[:2]:
|
elif 'za' == sickbeard.RESULTS_SORTBY[:2]:
|
||||||
sort_results = [sort_date, sort_rel, sort_az, sort_za]
|
sort_results = [sort_oldest, sort_newest, sort_rel, sort_az, sort_za]
|
||||||
elif 'newest' == sickbeard.RESULTS_SORTBY[:6]:
|
elif 'newest' == sickbeard.RESULTS_SORTBY[:6]:
|
||||||
sort_results = [sort_az, sort_rel, sort_oldest, sort_newest]
|
sort_results = [sort_az, sort_rel, sort_oldest, sort_newest]
|
||||||
elif 'oldest' == sickbeard.RESULTS_SORTBY[:6]:
|
elif 'oldest' == sickbeard.RESULTS_SORTBY[:6]:
|
||||||
|
|
Loading…
Reference in a new issue