View Single Post
Old 12-14-2014, 01:00 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,457
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Vortex View Post
I didn't realize there's a separate template for each library. When I checked each library the offending ones had title instead of series at the beginning:

Code:
{title:'contains($, ' ', has_cover (), $)'}
Working perfect now. Why is it dependent on there being something in the Series column?
The template in the first post references series. The template you just posted references title. The first uses a regular expression asking if there is a character in series. The second uses a regular expression asking if there is a space in the title. If there is then the template displays Yes if it has a cover or nothing if it doesn't. If the title contains no spaces then the column displays the title.

If you are asking why the first template checks for a series before checking has_cover(), I have no idea. Nor do I understand what the "title" template is intended to accomplish.
chaley is offline   Reply With Quote