01-09-2022, 01:46 PM
|
#5
|
Grand Sorcerer
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Originally Posted by ownedbycats
Ratings is just a fancy-looking integer column. Here's how I did it:
Code:
program:
r = $#ratings;
if r >=#4 then '#00ff00'
elif r >=#2 then '#ffff7f'
elif r >=#0 then '#ffaa00'
fi
You need to use a custom ratings column instead of the default one. I switched because a 10-point scale is a bit more useful to me.
Attachment 191467
Attachment 191468
|
Thank you!
|
|
|