From 6ca641ab7fa1e0f788440c1b421931cb6c2cbd2f Mon Sep 17 00:00:00 2001 From: imperosol Date: Thu, 19 Dec 2024 10:32:02 +0100 Subject: [PATCH] fix: N+1 queries on page version list page --- core/templates/core/macros_pages.jinja | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/core/templates/core/macros_pages.jinja b/core/templates/core/macros_pages.jinja index c18bfe31..79228ae7 100644 --- a/core/templates/core/macros_pages.jinja +++ b/core/templates/core/macros_pages.jinja @@ -3,17 +3,18 @@ {% macro page_history(page) %}

{% trans page_name=page.name %}You're seeing the history of page "{{ page_name }}"{% endtrans %}

{% endmacro %}