Quote:
Originally Posted by svda
Yes, no date => blank
|
Right, so what's the problem? It's already doing that. If pubdate is undefined, it will be left out. Although I did discover that the space between the author and the title, if there is no series or pubdate, is missing, so I migrated it out of the ifempty test. Fixed version:
Code:
program:
strcat(
template("{author_sort}/{title}/{author_sort} - {series:|[|}"),' ',
ifempty(
finish_formatting(
field("series_index"),
'0>3',
'',
'] '
),
finish_formatting(
format_date(
field('pubdate'),
'yyyy'),
'',
'(',
') '
)
),
field('title')
)