Commit fe0824d6 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Add render_if_exists to inject additional search field in EE

This allows EE code to reuse the search partial and append additional
query parameters to it, and have it preserved when searching.
parent 359474a2
......@@ -21,3 +21,5 @@
- if params[:visibility_level].present?
= hidden_field_tag :visibility_level, params[:visibility_level]
= render_if_exists 'shared/projects/search_fields'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment