Skip to content

Commit 835a116

Browse files
committed
Merge PR #16 from @zonky2
This adds the options includeBlankOption and the translation.
2 parents 6135129 + c694d3b commit 835a116

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)