View Single Post
Old 04-02-2023, 01:04 AM   #106
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,152
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
You can do this for author links in a template search. There is a template function that returns the author links for an author. You would check for each author of a book (a for statement). If the count of links for any author is zero then the template would return "matched" or whatever you specify in the search.

At the moment you can't do this for links other than authors without using a python template.
I made this for now, though it doesn't work so well for multiple authors. Will improve later

Code:
template:"""program: link =author_links('|',','); if link then 'true' else 'false' fi#@#:t:false"""

Last edited by ownedbycats; 04-02-2023 at 02:10 AM.
ownedbycats is offline   Reply With Quote