Merge pull request #935 from dod-ccpo/fix-activity-log-pagination

Fix audit log pagination urls
This commit is contained in:
dandds
2019-06-17 17:24:33 -04:00
committed by GitHub
2 changed files with 14 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
{% set button_class = button_class + "usa-button-secondary" %}
{% endif %}
<a id="{{ label }}" type="button" class="{{ button_class }}" href="{{ url if not disabled else 'null' }}">{{ label }}</a>
<a id="{{ label }}" type="button" class="{{ button_class }}" href="{{ url |withExtraParams(page=i) if not disabled else 'null' }}">{{ label }}</a>
{%- endmacro %}
{% macro Pagination(pagination, url) -%}