diff options
Diffstat (limited to 'app/services/concerns/search/filter.rb')
-rw-r--r-- | app/services/concerns/search/filter.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/services/concerns/search/filter.rb b/app/services/concerns/search/filter.rb new file mode 100644 index 00000000000..e234edcfce4 --- /dev/null +++ b/app/services/concerns/search/filter.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Search + module Filter + private + + def filters + { state: params[:state], confidential: params[:confidential], include_archived: params[:include_archived] } + end + end +end + +Search::Filter.prepend_mod |