View Single Post
Old 03-26-2021, 08:56 AM   #5713
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
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.

Last edited by Ascello; 03-26-2021 at 09:00 AM. Reason: Extra explanation
Ascello is offline   Reply With Quote