Skip to content

Commit

Permalink
Fixed issue: active group not selected when filtering question list b…
Browse files Browse the repository at this point in the history
…y group
  • Loading branch information
LouisGac committed Mar 30, 2017
1 parent 56afd15 commit 39063dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/admin/survey/Question/listquestions.php
Expand Up @@ -42,7 +42,7 @@
<select name="group_name" class="form-control">
<option value=""><?php eT('(Any group)');?></option>
<?php foreach($model->AllGroups as $group): ?>
<option value="<?php echo $group->gid;?>" <?php if( $group->group_name == $model->group_name){echo 'selected';} ?>>
<option value="<?php echo $group->gid;?>" <?php if( $group->gid == $model->group_name){echo 'selected';} ?>>
<?php echo flattenText($group->group_name);?>
</option>
<?php endforeach?>
Expand Down

0 comments on commit 39063dc

Please sign in to comment.