From 6e1bf19b241effb3fa3bb3535c2004569f128afe Mon Sep 17 00:00:00 2001 From: Cay Henning Date: Wed, 31 Jan 2024 10:19:24 -0500 Subject: [PATCH] Reduce another default limit --- fuel/app/classes/materia/widget/instance/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuel/app/classes/materia/widget/instance/manager.php b/fuel/app/classes/materia/widget/instance/manager.php index 7929b0520..4b3f5877a 100644 --- a/fuel/app/classes/materia/widget/instance/manager.php +++ b/fuel/app/classes/materia/widget/instance/manager.php @@ -174,7 +174,7 @@ public static function get_paginated_instance_search(string $input, $page_number * * @return array of widget instances related to the given input */ - public static function get_widget_instance_search(string $input, int $offset = 0, int $limit = 2147483647): array + public static function get_widget_instance_search(string $input, int $offset = 0, int $limit = 80): array { $results = \DB::select() ->from('widget_instance')