Use collection.title if collection.sortTitle is None
This commit is contained in:
@@ -182,7 +182,7 @@ def get_collections(section_id=None):
|
|||||||
'summary': collection.summary,
|
'summary': collection.summary,
|
||||||
'thumb': collection.thumb,
|
'thumb': collection.thumb,
|
||||||
'title': collection.title,
|
'title': collection.title,
|
||||||
'titleSort': collection.titleSort,
|
'titleSort': collection.titleSort or collection.title,
|
||||||
'type': collection.type,
|
'type': collection.type,
|
||||||
'updatedAt': helpers.datetime_to_iso(collection.updatedAt)
|
'updatedAt': helpers.datetime_to_iso(collection.updatedAt)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user