Commit a2f45fbe authored by metzlerd's avatar metzlerd
Browse files

Issue #2737087 by metzlerd: Bug for default parameter value

parent bc37e2dc
......@@ -9,7 +9,7 @@ class ForenaViewsPlugin extends views_plugin_style {
function option_definition() {
$options = parent::option_definition();
$options['report_name'] = array('default' => 'reports/test');
$options['report_name'] = array('default' => 'test');
return $options;
}
......@@ -18,7 +18,8 @@ class ForenaViewsPlugin extends views_plugin_style {
*/
function options_form(&$form, &$form_state) {
$form['report_name'] = array(
'#title' => t('Create from report'),
'#title' => t('Report'),
'#description' => t('Name of an existing report used to render fields in this view'),
'#type' => 'textfield',
'#autocomplete_path' => 'forena/reports/autocomplete',
'#default_value' => $this->options['report_name'],
......
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