View Single Post
Old 03-20-2011, 02:51 PM   #22
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by chaley View Post
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.
Manichean is offline   Reply With Quote