mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5974 (use HEAD for cover check, fix conversion tooltip display, disable sorting of metadata display, fix ratings display)
This commit is contained in:
parent
f38d6dcc83
commit
3c00407c61
@ -768,7 +768,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
||||
if datatype == 'rating':
|
||||
# eliminate the zero ratings line as well as count == 0
|
||||
item_not_zero_func = (lambda x: x[1] > 0 and x[2] > 0)
|
||||
formatter = (lambda x:u'\u2605'*int(round(x/2.)))
|
||||
formatter = (lambda x:u'\u2605'*int(x/2))
|
||||
elif category == 'authors':
|
||||
item_not_zero_func = (lambda x: x[2] > 0)
|
||||
# Clean up the authors strings to human-readable form
|
||||
|
Loading…
x
Reference in New Issue
Block a user