mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 07:25:38 +01:00
Fix #940600 (Content server does not correctly display multiple fields of type 'rating')
This commit is contained in:
commit
ca6690e2eb
1 changed files with 1 additions and 1 deletions
|
|
@ -825,7 +825,7 @@ def browse_render_details(self, id_):
|
|||
continue
|
||||
if m['datatype'] == 'rating':
|
||||
r = u'<strong>%s: </strong>'%xml(m['name']) + \
|
||||
render_rating(mi.get(field), self.opts.url_prefix,
|
||||
render_rating(mi.get(field)/2.0, self.opts.url_prefix,
|
||||
prefix=m['name'])[0]
|
||||
else:
|
||||
r = u'<strong>%s: </strong>'%xml(m['name']) + \
|
||||
|
|
|
|||
Loading…
Reference in a new issue