Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23775

Having trouble creating a custom column

$
0
0
I'm trying to create a custom column that shows the series name if it exists, one of two tags if they exist, or "other". I have created this:

program:
first_non_empty(
field(‘series’),
str_in_list( field('tags'),",", "_Next","Next", ""),
str_in_list( field('tags'),",", "_Soon","Soon", ""),
str_in_list( field('tags'),",", "_Favorites","Favorites",""),
"Other"
)

If I take out the series line and the other line it works. If I include those lines I get a template error.

Any help would be appreciated. Thanks.

Viewing all articles
Browse latest Browse all 23775

Trending Articles