mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Always sort keys when encoding a query
This commit is contained in:
parent
a005b125cd
commit
ae0a45b0be
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def encode_query(query, qchar):
|
|||
if not query:
|
||||
return ''
|
||||
qchar = qchar or '?'
|
||||
keys = Object.keys(query)
|
||||
keys = Object.keys(query).sort()
|
||||
ans = ''
|
||||
if keys.length:
|
||||
for k in keys:
|
||||
|
|
|
|||
Loading…
Reference in a new issue