Quote:
Originally Posted by Manichean
Shouldn't the function in the template be "name_to_sort()"?
|
No. The input is a string containing 1 or more author's names. For example, assuming no tweaks are set, "A B" returns "B, A", and "A B & C D" returns B, A & D, C".
The inner function call, string_to_authors, breaks apart the input author string into a list of authors. The outer function, authors_to_author_sort, accepts a list of authors (the result of the inner function) and produces an author_sort string, which is the result of the template function.