@@ -55,6 +55,10 @@ parameters:
5555 ongr_translations.filter.locale.class : ONGR\TranslationsBundle\Filter\LocaleFilter
5656 ongr_translations.filter.locale.request_field : locale
5757 ongr_translations.filter.locale.field : locale
58+
59+ ongr_translations.filter.missing_locale.class : ONGR\TranslationsBundle\Filter\MissingLocaleFilter
60+ ongr_translations.filter.missing_locale.request_field : missing_locale
61+ ongr_translations.filter.missing_locale.field : locale
5862
5963 ongr_translations.filter.tag.class : ONGR\FilterManagerBundle\Filters\Widget\Choice\SingleTermChoice
6064 ongr_translations.filter.tag.request_field : tag
@@ -112,6 +116,14 @@ services:
112116 tags :
113117 - { name: ongr_filter_manager.filter, filter_name: locale }
114118
119+ ongr_translations.filter.missing_locale :
120+ class : " %ongr_translations.filter.missing_locale.class%"
121+ calls :
122+ - ["setRequestField", ["%ongr_translations.filter.missing_locale.request_field%"]]
123+ - ["setField", ["%ongr_translations.filter.missing_locale.field%"]]
124+ tags :
125+ - { name: ongr_filter_manager.filter, filter_name: missing_locale }
126+
115127
116128 ongr_translations.filters_container :
117129 class : " %ongr_translations.filters_container.class%"
@@ -121,5 +133,6 @@ services:
121133 - ["set", ["search", "@ongr_translations.filter.match_search"]]
122134 - ["set", ["domain", "@ongr_translations.filter.single_term.domain"]]
123135 - ["set", ["locale", "@ongr_translations.filter.locale"]]
136+ - ["set", ["missing_locale", "@ongr_translations.filter.missing_locale"]]
124137 - ["set", ["tag", "@ongr_translations.filter.tag"]]
125138 - ["set", ["status", "@ongr_translations.filter.status"]]
0 commit comments