From 403ee7e61ef35f16764628c8a20d8af7c1858de3 Mon Sep 17 00:00:00 2001 From: Kai Date: Fri, 14 Aug 2015 09:38:17 +0200 Subject: [PATCH] Fix for issue 48 If the list of posts is larger than 200 there might be technical problems when trying to edit a page, as seen in issue 48. Therefore ordering is only available if the amount of post is less than 200. --- .../templates/forms/fields/order/order.html.twig | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/themes/grav/templates/forms/fields/order/order.html.twig b/themes/grav/templates/forms/fields/order/order.html.twig index b5aa35ca..7bc0cbad 100644 --- a/themes/grav/templates/forms/fields/order/order.html.twig +++ b/themes/grav/templates/forms/fields/order/order.html.twig @@ -22,11 +22,15 @@ Page is not visible, ordering disabled {% endif %} - + {% else %} + Your list contains more than 200 elements and is therefore not displayed to avoid technical problems. + {% endif %}