Browse Source

CLDC-3014 schemes locations csv download 2.0 (#2090)

* feat: fix typo
pull/2091/head
natdeanlewissoftwire 1 year ago committed by GitHub
parent
commit
add3f8a735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/services/filter_manager.rb

4
app/services/filter_manager.rb

@ -50,7 +50,7 @@ class FilterManager
users
end
def self.filter_schemes(schemes, search_term, filters, user, all_orgs)
def self.filter_schemes(schemes, search_term, filters, all_orgs, user)
schemes = filter_by_search(schemes, search_term)
filters.each do |category, values|
@ -125,7 +125,7 @@ class FilterManager
def filtered_schemes(schemes, search_term, filters)
all_orgs = params["owning_organisation_select"] == "all"
FilterManager.filter_schemes(schemes, search_term, filters, current_user, all_orgs)
FilterManager.filter_schemes(schemes, search_term, filters, all_orgs, current_user)
end
def filtered_locations(locations, search_term, filters)

Loading…
Cancel
Save