diff --git a/src/calibre/gui2/store/search.py b/src/calibre/gui2/store/search.py index 5c07984cda..df29181c4d 100644 --- a/src/calibre/gui2/store/search.py +++ b/src/calibre/gui2/store/search.py @@ -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