View Single Post
Old 12-12-2011, 12:16 AM   #2
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Create a custom column, built from other columns.
Name it something like 'mainauthor'.

Put this in the template field:
Code:
{author_sort:list_item( 0, ' & ')}
Sort on your custom column at startup.

Don't forget to add a leading # to the custom column name when you refer to it.

Code:
sort_columns_at_startup = (('#mainauthor', 0), ('series', 0), ('title', 0))
Caveat: I can't check my syntax at the moment, it may not be 100% correct, but you should get the idea ...
capnm is offline   Reply With Quote