Can I create a custom column built from other columns, based on the number of fandoms pr. story?
I've got the following from my word count custom column (I don't know if
Quote:
program:
words=raw_field('#words');
shelf_name=cmp(words, 300, 'Drable', 'Ficlet', 'Ficlet');
|
The custom column that needs to be sorted by is called: #number_fandoms
I tried the following but that didn't work:
Quote:
program:
('#number_fandoms');
shelf_name=cmp(fandoms, 2, 'Multi')
|
I would like it to be if there are 3 or more fandoms.