View Single Post
Old 10-12-2016, 03:04 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,473
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Something like
Code:
program:
	test(
		and(
			contains(field('#readinglist'), 'interesting', 'y', ''),
			or(
				contains(field('#ships'), "Angela Montenegro/Jack Hodgins", 'y', ''),
				contains(field('#ships'), "Temperance Brennan/Seeley Booth", 'y', '')
			),
		),
		'ships (crime).png',
		''
)
If #readinglist is a "like tags" column then you might want to "str_in_list" instead of "contains".
chaley is offline   Reply With Quote