8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Fix number of results in pagination for machine history

This commit is contained in:
Jean-Romain Garnier 2020-04-22 17:14:49 +00:00 committed by klafyvel
parent 01236373aa
commit a5b67300c9

View file

@ -493,10 +493,12 @@ def stats_search_machine_history(request):
history_form.cleaned_data.get("q", ""),
history_form.cleaned_data
)
max_result = GeneralOption.get_cached_value("search_display_page")
re2o_paginator(request,
events,
max_result)
max_result = GeneralOption.get_cached_value("pagination_number")
events = re2o_paginator(
request,
events,
max_result
)
return render(
request,