Browse Source

Fixed bug in tripal_views_handler_filter_select_string. It wasn't showing max_length option

Stephen Ficklin 12 years ago
parent
commit
af7927da51

+ 1 - 1
tripal_views/views/handlers/tripal_views_handler_filter_select_string.inc

@@ -44,7 +44,7 @@ class tripal_views_handler_filter_select_string extends chado_views_handler_filt
       '#default_value' => (isset($this->options['max_length'])) ? $this->options['max_length'] : 40,
       '#default_value' => (isset($this->options['max_length'])) ? $this->options['max_length'] : 40,
 
 
     );
     );
-    $form['max_length'] = array(
+    $form['note'] = array(
       '#type' => 'markup',
       '#type' => 'markup',
       '#value' => t('<strong><font color="red">Note:</font></strong> If another filter exists for the same table then '.
       '#value' => t('<strong><font color="red">Note:</font></strong> If another filter exists for the same table then '.
                     'the values shown in the drop box will only include those from rows that are not filtered.'),
                     'the values shown in the drop box will only include those from rows that are not filtered.'),