Commit b26c1cbb152aab6eff2f092fe991088e379f8aa9
1 parent
c967fdb0
Exists in
master
and in
111 other branches
passage epntap v2 apis dataset_id-Sgranule_gid et preview_url->thumbnail_url
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
php/classes/APISMgr.php
... | ... | @@ -48,13 +48,13 @@ |
48 | 48 | { |
49 | 49 | if (!$firstDatasetId) |
50 | 50 | $req .= " OR "; |
51 | - $req .= "dataset_id ='".$dataset."'"; | |
51 | + $req .= "granule_gid ='".$dataset."'"; | |
52 | 52 | $firstDatasetId = false; |
53 | 53 | } |
54 | 54 | $req .= ")"; |
55 | 55 | } |
56 | 56 | |
57 | - $req .= " ORDER BY time_min, dataset_id"; | |
57 | + $req .= " ORDER BY time_min, granule_gid"; | |
58 | 58 | |
59 | 59 | $postfields = array( |
60 | 60 | 'REQUEST' => 'doQuery', |
... | ... | @@ -90,8 +90,8 @@ |
90 | 90 | $folderIndex = -1; |
91 | 91 | |
92 | 92 | //$log = fopen(USERWSDIR."log","w"); |
93 | - | |
94 | 93 | //fprintf($log,$req_res); |
94 | + //fprintf($log,$req); | |
95 | 95 | |
96 | 96 | $limitReached = false; |
97 | 97 | $lastDate = 0; |
... | ... | @@ -154,4 +154,4 @@ |
154 | 154 | $res = $tapMgr->get("saturn","1990-01-01T00:00:00","2015-01-01T00:00:00",array("all")); |
155 | 155 | //var_dump($res);*/ |
156 | 156 | |
157 | -?> | |
158 | 157 | \ No newline at end of file |
158 | +?> | ... | ... |