diff --git a/app/controllers/logs_controller.rb b/app/controllers/logs_controller.rb index 099584873..de4a35bdb 100644 --- a/app/controllers/logs_controller.rb +++ b/app/controllers/logs_controller.rb @@ -1,6 +1,5 @@ class LogsController < ApplicationController include Pagy::Backend - include Modules::LogsFilter include Modules::SearchFilter skip_before_action :verify_authenticity_token, if: :json_api_request? diff --git a/app/controllers/organisations_controller.rb b/app/controllers/organisations_controller.rb index db31fb12a..fc691444f 100644 --- a/app/controllers/organisations_controller.rb +++ b/app/controllers/organisations_controller.rb @@ -1,6 +1,5 @@ class OrganisationsController < ApplicationController include Pagy::Backend - include Modules::LogsFilter include Modules::SearchFilter before_action :authenticate_user! diff --git a/app/views/logs/_log_filters.erb b/app/views/logs/_log_filters.erb index 5553e062d..78d59b33b 100644 --- a/app/views/logs/_log_filters.erb +++ b/app/views/logs/_log_filters.erb @@ -39,7 +39,6 @@ <%= render partial: "filters/radio_filter", locals: { f: f, - filter_type: @filter_type, options: all_or_yours, label: "Logs", category: "user", @@ -48,7 +47,6 @@ <% if (@current_user.support? || @current_user.organisation.has_managing_agents?) && request.path == "/lettings-logs" %> <%= render partial: "filters/radio_filter", locals: { f: f, - filter_type: @filter_type, options: { "all": { label: "All" }, "specific_org": {