mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
e7e50875d3
commit
e06b011771
2 changed files with 12 additions and 9 deletions
|
|
@ -393,7 +393,7 @@ def path_from_row_pks(row, pks, use_rowid):
|
|||
def build_where_clause(args):
|
||||
sql_bits = []
|
||||
params = {}
|
||||
for i, (key, values) in enumerate(args.items()):
|
||||
for i, (key, values) in enumerate(sorted(args.items())):
|
||||
if '__' in key:
|
||||
column, lookup = key.rsplit('__', 1)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue