So, I'm trying to change genre of books a little and then divide it into two columns. So I've got:
Code:
#Assuming genre in book are AAA and BBB
add_to_extra_valid_entries:,mycolumn
include_in_mycolumn: genre
replace_metadata:
genre=>^AAA$=>CCC
exclude_metadata_post:
genre!~^CCC$
mycolumn=~^CCC$
custom_columns_settings:
mycolumn=>#custom1
So I clearly don't understand the code, because I thought this would return CCC for genre and AAA and BBB for mycolumn. But it returns nothing in mycolumn. Can someone tell me what did I do wrong? I am very confused. (edit) If I remove the second line from exclude_metadata I get CCC only in mycolumn for some reason. I do not understand why CCC even appeared in mycolumn. Does the include_in_ only work after the replace/exlude_metadata?
I will post actual code and fics I used for testing later, because right now I don't have access, but I still wanted to ask, since I am just that impatient.