mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 16:03:47 +00:00
Fix number of results in pagination for machine history
This commit is contained in:
parent
3e52ac48d6
commit
d5e0494663
1 changed files with 6 additions and 4 deletions
|
@ -493,10 +493,12 @@ def stats_search_machine_history(request):
|
||||||
history_form.cleaned_data.get("q", ""),
|
history_form.cleaned_data.get("q", ""),
|
||||||
history_form.cleaned_data
|
history_form.cleaned_data
|
||||||
)
|
)
|
||||||
max_result = GeneralOption.get_cached_value("search_display_page")
|
max_result = GeneralOption.get_cached_value("pagination_number")
|
||||||
re2o_paginator(request,
|
events = re2o_paginator(
|
||||||
events,
|
request,
|
||||||
max_result)
|
events,
|
||||||
|
max_result
|
||||||
|
)
|
||||||
|
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
|
|
Loading…
Reference in a new issue