Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/MetaModels/Filter/Setting/Checkbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* This file is part of MetaModels/filter_checkbox.
*
* (c) 2012-2016 The MetaModels team.
* (c) 2012-2017 The MetaModels team.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand All @@ -18,7 +18,8 @@
* @author Andreas Nölke <zero@brothers-project.de>
* @author David Molineus <mail@netzmacht.de>
* @author Stefan Heimes <stefan_heimes@hotmail.com>
* @copyright 2012-2016 The MetaModels team.
* @author Ingolf Steinhardt <info@e-spin.de>
* @copyright 2012-2017 The MetaModels team.
* @license https://github.com/MetaModels/filter_checkbox/blob/master/LICENSE LGPL-3.0
* @filesource
*/
Expand Down Expand Up @@ -130,7 +131,7 @@ public function getParameterFilterWidgets(
$arrWidget = array
(
'label' => $this->prepareLabel($objAttribute),
'inputType' => ($this->get('ynmode') == 'radio' ?: 'checkbox'),
'inputType' => ($this->get('ynmode') == 'radio' ? 'radio' : 'checkbox'),
'eval' => array(
'colname' => $objAttribute->getColName(),
'urlparam' => $this->getParamName(),
Expand Down