Exactly which tweak is this for?
Also, bear in mind that Composite Custom Columns (built from other columns) are not updated in the database, but exist only in the GUI cache.
Does what you are doing work properly as the Standard Calibre default value (as if you were not creating a Tweak to be used on a Library-specific basis)? That is the first thing to look at.
DaltonST
|