Skip to content

Commit 08bf882

Browse files
committed
hotfix #7 show radio button widget
1 parent c137649 commit 08bf882

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/MetaModels/Filter/Setting/Checkbox.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of MetaModels/filter_checkbox.
55
*
6-
* (c) 2012-2016 The MetaModels team.
6+
* (c) 2012-2017 The MetaModels team.
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -18,7 +18,8 @@
1818
* @author Andreas Nölke <zero@brothers-project.de>
1919
* @author David Molineus <mail@netzmacht.de>
2020
* @author Stefan Heimes <stefan_heimes@hotmail.com>
21-
* @copyright 2012-2016 The MetaModels team.
21+
* @author Ingolf Steinhardt <info@e-spin.de>
22+
* @copyright 2012-2017 The MetaModels team.
2223
* @license https://github.com/MetaModels/filter_checkbox/blob/master/LICENSE LGPL-3.0
2324
* @filesource
2425
*/
@@ -130,7 +131,7 @@ public function getParameterFilterWidgets(
130131
$arrWidget = array
131132
(
132133
'label' => $this->prepareLabel($objAttribute),
133-
'inputType' => ($this->get('ynmode') == 'radio' ?: 'checkbox'),
134+
'inputType' => ($this->get('ynmode') == 'radio' ? 'radio' : 'checkbox'),
134135
'eval' => array(
135136
'colname' => $objAttribute->getColName(),
136137
'urlparam' => $this->getParamName(),

0 commit comments

Comments
 (0)