mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-06 09:57:57 +00:00
Fix integer division
This commit is contained in:
@ -225,7 +225,7 @@ def search(request):
|
||||
'query': request.GET['q'],
|
||||
'pagelinks': " ".join(
|
||||
generate_pagelinks(pagenum,
|
||||
totalhits / hitsperpage + 1,
|
||||
totalhits // hitsperpage + 1,
|
||||
querystr)),
|
||||
'hits': [{
|
||||
'date': h['d'],
|
||||
|
Reference in New Issue
Block a user