瀏覽代碼

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

Stephen Ficklin 13 年之前
父節點
當前提交
af7927da51
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tripal_views/views/handlers/tripal_views_handler_filter_select_string.inc

+ 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.'),