From 40baee32b03d99eb9b9827671b44e6f4c5229bff Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 13 May 2017 00:18:47 +0200 Subject: [PATCH 1/2] Bugfix for issue#680 - Fixed sorting; is now same as in data_source_profiles.php?action=edit --- lib/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index f7f31f8afd..6a60e1f2b7 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -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 From c20a19973f9fe0137432914481ecf48091a9b67f Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 13 May 2017 00:22:23 +0200 Subject: [PATCH 2/2] Bugfix for issue#680 - Fixed sorting; is now same as in data_source_profiles.php?action=edit --- docs/CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/CHANGELOG b/docs/CHANGELOG index b11ff75462..bdff6edac5 100644 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -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 -feature: Updated Dutch language 1.1.6