when sorting names, handle trailing (...) and [...]
This commit is contained in:
parent
abaae5e059
commit
27c701b97a
1 changed files with 2 additions and 0 deletions
|
@ -255,6 +255,8 @@ def get_sort_name(name):
|
|||
last_names = []
|
||||
if re.search('^[0-9]+$', first_names[-1]):
|
||||
add_name()
|
||||
if re.search('[(\[].+?[)\]]$', first_names[-1]):
|
||||
add_name()
|
||||
if find_name(SUFFIXES):
|
||||
add_name()
|
||||
add_name()
|
||||
|
|
Loading…
Reference in a new issue