Fix sorting episodes by file name (#7456)
This commit is contained in:
parent
361c754eb9
commit
7f45f2f9b9
|
@ -26,6 +26,10 @@ public class FeedItemSortQuery {
|
||||||
+ PodDBAdapter.KEY_PLAYBACK_COMPLETION_DATE + " " + "DESC";
|
+ PodDBAdapter.KEY_PLAYBACK_COMPLETION_DATE + " " + "DESC";
|
||||||
case DATE_OLD_NEW:
|
case DATE_OLD_NEW:
|
||||||
return PodDBAdapter.TABLE_NAME_FEED_ITEMS + "." + PodDBAdapter.KEY_PUBDATE + " " + "ASC";
|
return PodDBAdapter.TABLE_NAME_FEED_ITEMS + "." + PodDBAdapter.KEY_PUBDATE + " " + "ASC";
|
||||||
|
case EPISODE_FILENAME_A_Z:
|
||||||
|
return PodDBAdapter.KEY_LINK + " " + "ASC";
|
||||||
|
case EPISODE_FILENAME_Z_A:
|
||||||
|
return PodDBAdapter.KEY_LINK + " " + "DESC";
|
||||||
case DATE_NEW_OLD:
|
case DATE_NEW_OLD:
|
||||||
default:
|
default:
|
||||||
return PodDBAdapter.TABLE_NAME_FEED_ITEMS + "." + PodDBAdapter.KEY_PUBDATE + " " + "DESC";
|
return PodDBAdapter.TABLE_NAME_FEED_ITEMS + "." + PodDBAdapter.KEY_PUBDATE + " " + "DESC";
|
||||||
|
|
Loading…
Reference in New Issue