issue: Creating an independent data source does not use the systems default

This commit is contained in:
cigamit committed 2017-09-10 10:14:19 -05:00
1 parent cbb57d768d
commit 2ccfc396f8
2 files changed
+3

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ Cacti CHANGELOG
-issue#952: CSV Export not rendering chinese characters correctly
-issue#955: Validation error trying to view graph debug syntax
-issue: MySQL/MariaDB database sql_mode NO_AUTO_VALUE_ON_ZERO corrupts Cacti database
-issue: When creating a data source, the data source profile does not default
to the system default
-feature: Enhance table filters to supprt new Cycle plugin
1.1.21
+1
View File
@@ -398,6 +398,7 @@ $struct_data_source = array(
'method' => 'drop_sql',
'description' => __('Select the Data Source Profile. The Data Source Profile controls polling interval, the data aggregation, and retention policy for the resulting Data Sources.'),
'sql' => 'SELECT id, name FROM data_source_profiles ORDER BY name',
'default' => db_fetch_cell('SELECT id FROM data_source_profiles ORDER BY `default` DESC LIMIT 1'),
'none_value' => __('External'),
'flags' => ''
),