mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Always sort keys when encoding a query
This commit is contained in:
parent
a005b125cd
commit
ae0a45b0be
@ -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…
x
Reference in New Issue
Block a user