I might have missed what you want. Or, I need to see some examples of the data to make sure we are discussing the same thing. For example, with the last template and a book:
Title: Road to Dune
Authors: Frank Herbert & Brian Herbert & Kevin J Anderson
Author Sort: Herbert, Frank & Herbert, Brian & Anderson, Kevin J
Series: Dune
With that, the result of the template is:
Herbert_ Frank.Dune,Herbert_ Brian.Dune,Anderson_ Kevin J.Dune
That gives me three entries in the tag browser:
Herbert_ Frank.Dune
Herbert_ Brian.Dune
Anderson_ Kevin J.Dune
Each containing the book.
If I create a book with two authors:
Title: Dune Caladan book 1
Authors: Kevin J Anderson & Brian Herbert
Author Sort: Anderson, Kevin J & Herbert, Brian
Series: Dune Caladan
With that, the result of the template is:
Anderson_ Kevin J.Dune Caladan,Herbert_ Brian.Dune Caladan
That gives me three entries in the tag browser:
Anderson_ Kevin J.Dune Caladan
Herbert_ Brian.Dune Caladan
With the book in both.
And for all numbers of authors, if there is no series, the result of the template is empty, and the book will not be in the tags browser.
I think the above is what you are after. But, if it isn't, some examples of both the book metadata and what you expect to see.
|