View Single Post
Old 02-04-2010, 05:33 AM   #28
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,361
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by itimpi View Post
I might raise this as a change request then! If this was the documented behavior in the User Guide, then I do not see why it should be that any cases are "magic".
I added your request to my patch, but still using the evil environment variable.

If you set CALIBRE_AUTHOR_SORT_METHOD=none-if-comma, it has the behavior your described. If there is a comma in the author string, author is copied unchanged to author_sort, otherwise the author string is processed as before to convert 'FN LN' to 'LN, FN'.

The __init__.py in the download folder referred to above contains the change.
chaley is offline   Reply With Quote