Merge pull request #690 from reboot1983/Issue680

This won't get it for those people who have steps == 1 for both one minute and five minute upgrade, but for everyone else.  No problem.  So glad we had Data Source profiles now.  So much more we need to do design wise.
This commit is contained in:
Jimmy Conner authored and GitHub committed 2017-05-13 06:35:27 -05:00
commit 056dcf019f
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ Cacti CHANGELOG
1.1.7
-issue#655: Data source not displaying device name
-issue#680: Sort order in Time Graph View
-issue#687: Cacti DB access not compatible with PHP 7
-feature: Updated Dutch language
-feature: Updating PHPMailer to 5.2.23
+5 -1
View File
@@ -2796,7 +2796,11 @@ function get_associated_rras($local_graph_id, $sql_where = '') {
LEFT JOIN data_source_profiles_rra AS dspr
ON dsp.id=dspr.data_source_profile_id
AND dtd.local_data_id != 0
WHERE gti.local_graph_id = ? $sql_where", array($local_graph_id));
WHERE gti.local_graph_id = ?
$sql_where
ORDER BY dspr.steps",
array($local_graph_id)
);
}
/* get_browser_query_string - returns the full url, including args requested by the browser