View Single Post
Old 09-26-2023, 10:56 AM   #8952
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 71
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by ownedbycats View Post
Code:
[defaults]
custom_columns_settings: 
## Book type
 "Fanfiction"=>#booktype
I've been struggling with attempts to have FFF conditionally set the Status column to "Anthology" for anthologies. I haven't had much luck with what I've tried so far, so I tried modifying the above code.

I also found a wiki entry that had this code:

Code:
[defaults]
generate_cover_settings:
 ${anthology}=>true=>Anthology Cover
I tried to combine the logic from both, resulting in this:

Code:
custom_columns_settings:
 ${anthology}=>true=>"Anthology"=>#status
However, it complains that it's only expecting two values to unpack. Can anybody help me fix this (or show me a better way)?

- Andrew
applegaa is offline   Reply With Quote