Quote:
Originally Posted by Nyssa
- "[" & "]" (prefix and suffix) for series
- ">{" & "}" (prefix & sufix) for authors
|
Well, if you are willing to use "()" instead of "{}" then you can use the template:
{series:'test($, strcat("[",field('series'),"]"), strcat(">(",field('author'),")"))'}
or if you want author lastname, firstname:
{series:'test($, strcat("[",field('series'),"]"), strcat(">(",field('author_sort'),")"))'}
If you want to use {} then you can use:
program: test(field('series'), strcat("[",field('series'),"]"), strcat(">{",field('author_sort'),"}"))
and if you want you can try listing author followed by series if there is one:
{series:'test($, strcat("[",field('author_sort')," - ",field('series'),"]"), strcat("[",field('author_sort'),"]"))'}
or if you want to use the special characters {} and your original format (although this defeats the purpose of grouping author's books together):
program: test(field('series'), strcat("[",field('author_sort')," - ",field('series'),"]"), strcat(">{",field('author_sort'),"}"))