From a28235b6730720ddbac2cc5e8a49952a00b6dfab Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:03:46 +0100 Subject: [PATCH] Fix lint --- app/controllers/organisation_relationships_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/organisation_relationships_controller.rb b/app/controllers/organisation_relationships_controller.rb index 12a59ce10..18dd7fc4f 100644 --- a/app/controllers/organisation_relationships_controller.rb +++ b/app/controllers/organisation_relationships_controller.rb @@ -14,7 +14,7 @@ class OrganisationRelationshipsController < ApplicationController ] def stock_owners - stock_owners = organisation.stock_owners.filter_by_active.order('LOWER(name)') + stock_owners = organisation.stock_owners.filter_by_active.order("LOWER(name)") unpaginated_filtered_stock_owners = filtered_collection(stock_owners, search_term) @pagy, @stock_owners = pagy(unpaginated_filtered_stock_owners) @@ -23,7 +23,7 @@ class OrganisationRelationshipsController < ApplicationController end def managing_agents - managing_agents = organisation.managing_agents.filter_by_active.order('LOWER(name)') + managing_agents = organisation.managing_agents.filter_by_active.order("LOWER(name)") unpaginated_filtered_managing_agents = filtered_collection(managing_agents, search_term) @pagy, @managing_agents = pagy(unpaginated_filtered_managing_agents)