From 649ac3271fbcfd1a8bd2f3fa2166ef6be1d6d619 Mon Sep 17 00:00:00 2001 From: Alessio C Date: Thu, 3 Jun 2021 09:09:46 +0200 Subject: [PATCH] fix use SELECT_LIMIT usage instead of SELECT_LIMIT_STRATEGY --- app/controllers/kanban_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/kanban_controller.rb b/app/controllers/kanban_controller.rb index 90b2f6e..d63658c 100644 --- a/app/controllers/kanban_controller.rb +++ b/app/controllers/kanban_controller.rb @@ -173,7 +173,7 @@ def index .where("updated_on >= '" + updated_from + "'") .where(is_private: 0) - if Constants::SELECT_LIMIT == 1 then + if Constants::SELECT_LIMIT_STRATEGY == 1 then issues_for_projects = issues_for_projects.limit(Constants::SELECT_LIMIT) end