Quote:
Originally Posted by chaley
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.
|
What I meant is that you called the function "name_to_sort" in your definition and "names_to_sort" in the template. I think one of those is a typo.