From 89d8c11b52a326a2d1258112844added9cc77882 Mon Sep 17 00:00:00 2001
From: Florian Dupret
Date: Tue, 29 Sep 2020 14:05:41 +0200
Subject: [PATCH] More pagination fixes
---
resources/views/v1/currencies/index.twig | 4 ++--
resources/views/v1/list/accounts.twig | 4 ++--
resources/views/v1/list/bills.twig | 4 ++--
resources/views/v1/list/categories.twig | 4 ++--
resources/views/v1/list/groups.twig | 4 ++--
resources/views/v1/recurring/index.twig | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/resources/views/v1/currencies/index.twig b/resources/views/v1/currencies/index.twig
index 4520c1d577..09ee3ad63b 100644
--- a/resources/views/v1/currencies/index.twig
+++ b/resources/views/v1/currencies/index.twig
@@ -21,7 +21,7 @@
{% if currencies|length > 0 %}
- {{ currencies.render|raw }}
+ {{ currencies.render()|raw }}
- {{ currencies.render|raw }}
+ {{ currencies.render()|raw }}
{% endif %}
diff --git a/resources/views/v1/list/accounts.twig b/resources/views/v1/list/accounts.twig
index 02e3e21b48..32e486fb56 100644
--- a/resources/views/v1/list/accounts.twig
+++ b/resources/views/v1/list/accounts.twig
@@ -1,5 +1,5 @@
- {{ accounts.render|raw }}
+ {{ accounts.render()|raw }}
- {{ accounts.render|raw }}
+ {{ accounts.render()|raw }}
diff --git a/resources/views/v1/list/bills.twig b/resources/views/v1/list/bills.twig
index 958ba080d3..9be7dc45fa 100644
--- a/resources/views/v1/list/bills.twig
+++ b/resources/views/v1/list/bills.twig
@@ -1,5 +1,5 @@
- {{ paginator.render|raw }}
+ {{ paginator.render()|raw }}
- {{ paginator.render|raw }}
+ {{ paginator.render()|raw }}
diff --git a/resources/views/v1/list/categories.twig b/resources/views/v1/list/categories.twig
index 115f4a131c..a11ec8efc8 100644
--- a/resources/views/v1/list/categories.twig
+++ b/resources/views/v1/list/categories.twig
@@ -1,5 +1,5 @@
- {{ categories.render|raw }}
+ {{ categories.render()|raw }}
- {{ categories.render|raw }}
+ {{ categories.render()|raw }}
diff --git a/resources/views/v1/list/groups.twig b/resources/views/v1/list/groups.twig
index 56d4b873ce..e3848caaf2 100644
--- a/resources/views/v1/list/groups.twig
+++ b/resources/views/v1/list/groups.twig
@@ -6,9 +6,9 @@ TODO: hide and show columns
{% if showCategory or showBudget %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/resources/views/v1/recurring/index.twig b/resources/views/v1/recurring/index.twig
index 8263afd36b..e4ad78183d 100644
--- a/resources/views/v1/recurring/index.twig
+++ b/resources/views/v1/recurring/index.twig
@@ -32,7 +32,7 @@
- {{ paginator.render|raw }}
+ {{ paginator.render()|raw }}
- {{ paginator.render|raw }}
+ {{ paginator.render()|raw }}
|