Commit 65897d7a authored by sun's avatar sun

#142347 by merlinofchaos: Fixed missing taxonomy terms in exposed filter.

parent a61bd572
......@@ -2,6 +2,7 @@ CHANGELOG for Views for Drupal 5
Views 5.x-1.x
Bugs fixed:
o #142347 by merlinofchaos: Fixed missing taxonomy terms in exposed filter.
o #174044 by douggreen: Fixed coding-style in exported views.
o #193888 by mvc: Fixed select lists options in Views UI are not sorted.
o #247420 and #217015 by smk-ka, webchick: Fixed SQL error when using empty
......
......@@ -240,8 +240,8 @@ function views_taxonomy_form(&$vocabulary) {
$form = taxonomy_form($vocabulary->vid, 0, $vocabulary->help);
unset($form['#title']);
unset($form['#description']);
if (!$vocabulary->required) {
unset($form['#options'][0]);
if (!$vocabulary->multiple || !$vocabulary->required) {
unset($form['#options']['']);
}
unset($form['#default_value']);
$form['#multiple'] = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment