mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix sorting by price.
This commit is contained in:
parent
9b5768e2d1
commit
668ee348ce
@ -191,6 +191,7 @@ class Matches(QAbstractItemModel):
|
||||
if len(text) < 3 or text[-3] not in ('.', ','):
|
||||
text += '00'
|
||||
text = re.sub(r'\D', '', text)
|
||||
text = text.rjust(6, '0')
|
||||
elif col == 4:
|
||||
text = result.store
|
||||
return text
|
||||
|
Loading…
x
Reference in New Issue
Block a user