View Single Post
Old 06-05-2022, 01:01 PM   #2
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I am 99.9% certain that you shouldn't be using subitems. That function is intended to break apart comma-separated items that contain periods, such as genres. It sorts the list, which is why 'Ed' is showing up before 'Greenwood'. I have no idea why it seems to usually work for you unless most of your author's first names are alphabetically later than their last names.

You should instead be using sublist() to get the first author. The separator for authors and author_sort is '&'. I think this is what you want:
Code:
{author_sort:sublist(0,1,&)}

Last edited by chaley; 06-05-2022 at 01:04 PM.
chaley is offline   Reply With Quote