Quote:
Originally Posted by chaley
You're correct: composite columns (built from other columns) can't show stars. However, it would be easy to do a search and replace, copying the "identifier" rating to a custom rating column. This could be done automatically using action chains when books are imported.
|
You made the template language flexible enough to display rating (I shouldn't be telling you that

)
Code:
program:
rating = $rating;
text = '';
for x in range(0,rating):
text = text & '★'
rof
The
line highlighted in blue should be edited to fetch rating from the appropriate column
Edit: Thinking about this, I was about to suggest a rating_to_stars() function, only to discover it is already there, and it uses halfstars as well.