This is an automated email from the ASF dual-hosted git repository.

fjy pushed a commit to branch 0.16.0-incubating
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/0.16.0-incubating by this push:
     new 95c0370  swap ordering clauses in the menu (#8473) (#8475)
95c0370 is described below

commit 95c0370dabdca70859212de595a0a05480a74455
Author: Clint Wylie <cwy...@apache.org>
AuthorDate: Thu Sep 5 17:04:35 2019 -0700

    swap ordering clauses in the menu (#8473) (#8475)
---
 .../src/views/query-view/query-output/query-output.tsx       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/web-console/src/views/query-view/query-output/query-output.tsx 
b/web-console/src/views/query-view/query-output/query-output.tsx
index 17878d5..c17e436 100644
--- a/web-console/src/views/query-view/query-output/query-output.tsx
+++ b/web-console/src/views/query-view/query-output/query-output.tsx
@@ -117,17 +117,17 @@ export class QueryOutput extends 
React.PureComponent<QueryOutputProps> {
       if (!basicActions.length) {
         basicActions.push(
           {
-            icon: IconNames.SORT_ASC,
-            title: `Order by: ${h} ASC`,
+            icon: IconNames.SORT_DESC,
+            title: `Order by: ${h} DESC`,
             onAction: () => {
-              onQueryChange(parsedQuery.orderBy(h, 'ASC'), true);
+              onQueryChange(parsedQuery.orderBy(h, 'DESC'), true);
             },
           },
           {
-            icon: IconNames.SORT_DESC,
-            title: `Order by: ${h} DESC`,
+            icon: IconNames.SORT_ASC,
+            title: `Order by: ${h} ASC`,
             onAction: () => {
-              onQueryChange(parsedQuery.orderBy(h, 'DESC'), true);
+              onQueryChange(parsedQuery.orderBy(h, 'ASC'), true);
             },
           },
         );


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to