Skip to content

Commit

Permalink
Merge pull request #3 from Alessio92/Alessio92-master-patch-1
Browse files Browse the repository at this point in the history
fix use SELECT_LIMIT usage instead of SELECT_LIMIT_STRATEGY
  • Loading branch information
Alessio92 authored Jun 3, 2021
2 parents 366fef6 + 649ac32 commit d1f0b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/kanban_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1f0b28

Please sign in to comment.