View Single Post
Old 10-18-2024, 05:38 PM   #725
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,500
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Another question: After deleting an integer column (was converting it to a composite), I noticed that a template that checked the integer still worked, but treated everything as a '0'. Is this intentional?
Yes, assuming you are using raw_field() or $$ to fetch the value. It returns None for columns that don't exist. None is interpreted as zero in an arithmetic context. Using field() or $ will throw an error
chaley is offline   Reply With Quote