View Single Post
Old 03-26-2023, 02:01 PM   #1055
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,488
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
If you want to preserve the last modified column(s), stick to templates, because unlike pre-defined option it will check with the old value before updating. Returning "else $columnname" will not count as modification.
Also, in most cases the calibre db layer checks if the item is being set to itself and doesn't change last_modified.

You could of course test this easily enough...
chaley is offline   Reply With Quote