use sort name for files, fixes #51
This commit is contained in:
parent
7ca90dedfc
commit
9b76d89cfa
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@ class File(db.Model):
|
||||||
if not os.path.exists(current_path):
|
if not os.path.exists(current_path):
|
||||||
logger.debug('file is missing. %s', current_path)
|
logger.debug('file is missing. %s', current_path)
|
||||||
return
|
return
|
||||||
author = '; '.join([ox.canonical_name(a) for a in j.get('author', [])])
|
author = '; '.join([get_sort_name(a) for a in j.get('author', [])])
|
||||||
if not author:
|
if not author:
|
||||||
author = 'Unknown Author'
|
author = 'Unknown Author'
|
||||||
title = j.get('title', 'Untitled')
|
title = j.get('title', 'Untitled')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue