Quote:
Originally Posted by chaley
You don't say what "category" is or what to do with multiple authors. I used 'tags' for category, which is probably wrong.
|
Category is my own column with hierarchy (for example: history.europe).
So perfect scenario for me is:
If Library = fiction:
If main author have less than X books:
Fiction/{languages}/{author_sort} - {pubdate} - {title}
If main author have more than X books:
Fiction/{languages}/{author_sort:sublist(0,1,&)}/{series}/{series:|| }{series_index:|| - }{pubdate} - {title}
If Library = nonfiction….:
If main author have less than X books in this category:
Non-fiction/Category/Subcategory/{author_sort} - {pubdate} - {title}
If main author have more than X books in this category:
Non-fiction/Category/Subcategory/{author_sort:sublist(0,1,&)}/{series}/{series:|| }{series_index:|| - }{pubdate} - {title}
Quote:
Originally Posted by chaley
Customize this template to give the answer you want. I used the 'template()' function because that might be easier for you. If I was doing this for me then I would construct the results myself.
|
EXCEPTION: The function book_count can be used only in the GUI