Issue #1156 sort by ts_rank in the TimeSeriesDataManager ingestfilter query.

Former-commit-id: 85961a3d6d [formerly f2b97d3170] [formerly 1b028a6d54 [formerly ecbe261f768452fc30a6641d25f5303565d18cbb]]
Former-commit-id: 1b028a6d54
Former-commit-id: b7c9603d02
This commit is contained in:
Brad Gonzales 2012-09-10 09:24:28 -05:00
parent 8926d7a65b
commit edaaac843d

View file

@ -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'";