소스 검색

HUE-6038 [metadata] List partition names on search instead of nothing

Romain Rigaux 8 년 전
부모
커밋
3e447cb8a0
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      desktop/core/src/desktop/templates/assist_search.mako

+ 4 - 1
desktop/core/src/desktop/templates/assist_search.mako

@@ -316,7 +316,10 @@ from notebook.conf import ENABLE_QUERY_BUILDER
                   entity.originalDescription = entity.metaClassName;
                   break;
                 }
-                case 'PARTITION': {}
+                case 'PARTITION': {
+                  entity.hue_description = entity.originalName;
+                  break;
+                }
                 case 'OPERATION': {}
               }
               entity.hasDescription = typeof entity.originalDescription !== 'undefined' && entity.originalDescription !== null && entity.originalDescription.length > 0;