Change UNION to UNION ALL
parent
02d14bc394
commit
18cf8ea74d
2
gui.py
2
gui.py
|
@ -218,7 +218,7 @@ def gui_results(form):
|
||||||
{time}
|
{time}
|
||||||
'''.format(worlds=worlds_clause, players=players_clause, coords=coords_clause, time=time_clause))
|
'''.format(worlds=worlds_clause, players=players_clause, coords=coords_clause, time=time_clause))
|
||||||
|
|
||||||
query = " UNION ".join(queries)
|
query = " UNION ALL ".join(queries)
|
||||||
if query:
|
if query:
|
||||||
query += " ORDER BY unix {} LIMIT {}, {}".format(oldest_first, form.start, form.page_size)
|
query += " ORDER BY unix {} LIMIT {}, {}".format(oldest_first, form.start, form.page_size)
|
||||||
if query:
|
if query:
|
||||||
|
|
Loading…
Reference in New Issue