remove last_query session in admin to prevent massive join when sorting tables in multiple browser tabs #2326

This commit is contained in:
Mark Ma
2020-06-03 16:16:59 -07:00
parent 7427258b90
commit db6a06b963
7 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -82,7 +82,7 @@
<div style="overflow:auto; width:80%;">
{{linkto = lambda f, t, r: URL('update', args=[request.args[0], r, f]) if f else "#"}}
{{upload=URL('download',args=request.args[0])}}
{{=SQLTABLE(rows,linkto,upload,orderby=True,_class='table table-striped table-bordered sortable')}}
{{=SQLTABLE(rows,linkto,upload,orderby=True,query=query,_class='table table-striped table-bordered sortable')}}
</div>
{{pass}}
<br/><br/>