mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-21 19:23:05 +00:00
update sort field in library.ShowSection.recentlyAdded method
This commit is contained in:
parent
d5f9004e7b
commit
4f96838b3d
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ class ShowSection(LibrarySection):
|
||||||
Parameters:
|
Parameters:
|
||||||
maxresults (int): Max number of items to return (default 50).
|
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):
|
def collection(self, **kwargs):
|
||||||
""" Returns a list of collections from this library section. """
|
""" Returns a list of collections from this library section. """
|
||||||
|
|
Loading…
Reference in a new issue