View Single Post
Old 02-06-2023, 04:22 PM   #500
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,153
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also, another question related to column icons. In an advanced rule, what is the most correct way to return no icon?

Example: My 'Cleanup' VL also searches for marked:true books.

Code:
program:

first_non_empty(
 [lots of entries for specific metadata issues]

## Fallback
	if is_marked() then ' ' fi,
	if 'Cleanup' inlist virtual_libraries() then 'polish.png' fi
)
If I use '' (no space), it returns 'polish.png' for marked books. Hence the whitespace.
ownedbycats is offline   Reply With Quote