From b7c9603d02b42fd29eb2c0e3ca8f5a8f76fd28f1 Mon Sep 17 00:00:00 2001 From: Brad Gonzales Date: Mon, 10 Sep 2012 09:24:28 -0500 Subject: [PATCH] Issue #1156 sort by ts_rank in the TimeSeriesDataManager ingestfilter query. Former-commit-id: f2b97d3170118d7bbaa7bf783bf642eb69001a86 [formerly ecbe261f768452fc30a6641d25f5303565d18cbb] Former-commit-id: 1b028a6d54e46f80b2753df4a18828d0a5429d7e --- .../raytheon/viz/hydro/timeseries/TimeSeriesDataManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/timeseries/TimeSeriesDataManager.java b/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/timeseries/TimeSeriesDataManager.java index ceda995796..0addfee89b 100644 --- a/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/timeseries/TimeSeriesDataManager.java +++ b/cave/com.raytheon.viz.hydro/src/com/raytheon/viz/hydro/timeseries/TimeSeriesDataManager.java @@ -79,7 +79,7 @@ public class TimeSeriesDataManager extends HydroDataManager { private static final String TIME_SERIES_DATA_QUERY = "select lid,obstime,lid,product_id from latestobsvalue"; - private String INGEST_FILTER_QUERY = "select lid,pe,ts,extremum,dur from ingestfilter where lid=':lid' and ingest = 'T' order by pe asc,dur asc,ts asc,extremum asc"; + private String INGEST_FILTER_QUERY = "select lid,pe,ts,extremum,dur from ingestfilter where lid=':lid' and ingest = 'T' order by pe asc,ts_rank asc,dur asc,ts asc,extremum asc"; private String SHEF_PE_QUERY = "select name||' '|| eng_unit from shefpe where pe=':pe'"; @@ -1386,4 +1386,4 @@ public class TimeSeriesDataManager extends HydroDataManager { public Map getStationDisplayMap() { return stnDisplayMap; } -} \ No newline at end of file +}