From 5782ecf65e398e21e491bd8feef389b7c9157e39 Mon Sep 17 00:00:00 2001 From: nboyse Date: Tue, 6 Feb 2024 12:55:27 +0000 Subject: [PATCH] remove usage of current_page_data and use ag grid pagination --- reports/jinja2/generics/table.jinja | 97 +------------------ reports/jinja2/reports/report_table.jinja | 6 +- reports/reports/base_table.py | 2 +- .../blank_goods_nomenclature_descriptions.py | 2 +- reports/reports/eu_data.py | 13 --- reports/reports/quotas_cannot_be_used.py | 44 ++++----- reports/views.py | 18 ---- 7 files changed, 23 insertions(+), 159 deletions(-) diff --git a/reports/jinja2/generics/table.jinja b/reports/jinja2/generics/table.jinja index 78fe5f51f2..12be00e3e8 100644 --- a/reports/jinja2/generics/table.jinja +++ b/reports/jinja2/generics/table.jinja @@ -1,5 +1,5 @@ {% from "components/table/macro.njk" import govukTable -%} -{% if report.slug() == "table_report_of_eu_data" -%} +{% if report.headers_list -%}