Quote:
Originally Posted by culytera
I tried to make a template for grouping word count on Calibre based on this, but it wasn't working properly for me despite having Calibre updated. I saw a different one which worked.
Code:
program:
getWordCount = field('#ao3_words');
wordCount = re(getWordCount, '[,]', '');
first_non_empty(
cmp(wordCount, 5001, '0 - 5000', '', ''),
cmp(wordCount, 10001, '5001 - 10000', '', ''),
cmp(wordCount, 20001, '10001 - 20000', '', ''),
cmp(wordCount, 40001, '20001 - 40000', '', ''),
cmp(wordCount, 80001, '40001 - 80000', '', ''),
'80000+'
);
It looks like this for me. I wish MapleRead could sort by groups, but it's limited so I'm making do with tag grouping.
|
I keep them under saved searches like attached and it keeps the order