View Single Post
Old 09-16-2013, 02:40 AM   #81
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,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
I have the following saved search to identify 'books' that I don't have in some form or another.

Code:
formats:"false" and not comments:"Book is Here"
The "Book is Here" in Comments is a label I use on URI links to something external to the library

In addition to (or maybe instead of) the saved search I would like to have a column in the spreadsheet that would show something like , otherwise nothing would show

I've tried a couple of things but I failed to get a result - maybe someone can teach an old dog a new trick

TIA - BR
This advanced rule adds a sad face to the title if the conditions you describe above are true.
Code:
program:
	test(
		and(
			not(approximate_formats()), 
			contains(field('comments'), "Book is Here", '','y')), 
		'emotes-face-sad-icon.png', 
		'')
Here is a screen capture of the result. The first "Inconnu(e)" has the comment
Quote:
foo
Book is Here
bar
Click image for larger version

Name:	Clipboard01.png
Views:	290
Size:	7.4 KB
ID:	111095

Here is a screen capture of the advanced rule editor.
Click image for larger version

Name:	Clipboard04.png
Views:	277
Size:	20.6 KB
ID:	111096

And for completeness, here is a link to the sad face icon I used.
http://www.iconarchive.com/show/oxyg...-sad-icon.html
chaley is offline   Reply With Quote