Skip to content

Commit 61628f1

Browse files
committed
Merge tag '2.1.1'
Hotfix release 2.1.1 - Add the option includeBlankOption - Add the translation for includeBlankOption
2 parents 6135129 + 835a116 commit 61628f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/FilterSetting/Checkbox.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ public function getParameterFilterWidgets(
156156
);
157157
}
158158

159+
if ($arrWidget['eval']['includeBlankOption']) {
160+
$arrWidget['eval']['blankOptionLabel'] = $GLOBALS['TL_LANG']['metamodels_frontendfilter']['do_not_filter'];
161+
}
162+
159163
$this->addFilterParam();
160164

161165
return array

0 commit comments

Comments
 (0)