summaryrefslogtreecommitdiff
path: root/app/finders/concerns/custom_attributes_filter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/finders/concerns/custom_attributes_filter.rb')
-rw-r--r--app/finders/concerns/custom_attributes_filter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/finders/concerns/custom_attributes_filter.rb b/app/finders/concerns/custom_attributes_filter.rb
index 5bbf9ca242d..80fad941ab1 100644
--- a/app/finders/concerns/custom_attributes_filter.rb
+++ b/app/finders/concerns/custom_attributes_filter.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module CustomAttributesFilter
def by_custom_attributes(items)
return items unless params[:custom_attributes].is_a?(Hash)