update sort field in library.ShowSection.recentlyAdded method

This commit is contained in:
blacktwin 2020-09-28 13:51:25 -04:00
parent d5f9004e7b
commit 4f96838b3d

View file

@ -879,7 +879,7 @@ class ShowSection(LibrarySection):
Parameters:
maxresults (int): Max number of items to return (default 50).
"""
return self.search(sort='addedAt:desc', libtype=libtype, maxresults=maxresults)
return self.search(sort='episode.addedAt:desc', libtype=libtype, maxresults=maxresults)
def collection(self, **kwargs):
""" Returns a list of collections from this library section. """