KYLIN-2010 filter encoding options for column in TOP_N measure
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/32a9c670 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/32a9c670 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/32a9c670 Branch: refs/heads/1.5.x-CDH5.7 Commit: 32a9c67068edfa0778ab5e19fc8376813e1bbc90 Parents: 69cb49d Author: Jason <jiat...@163.com> Authored: Wed Sep 21 15:25:08 2016 +0800 Committer: Jason <jiat...@163.com> Committed: Wed Sep 21 15:25:08 2016 +0800 ---------------------------------------------------------------------- webapp/app/partials/cubeDesigner/measures.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/32a9c670/webapp/app/partials/cubeDesigner/measures.html ---------------------------------------------------------------------- diff --git a/webapp/app/partials/cubeDesigner/measures.html b/webapp/app/partials/cubeDesigner/measures.html index 56c86be..ec7110f 100755 --- a/webapp/app/partials/cubeDesigner/measures.html +++ b/webapp/app/partials/cubeDesigner/measures.html @@ -260,7 +260,7 @@ <select ng-if="state.mode=='edit'" style="width:180px;" chosen ng-model="groupby_column.encoding" ng-change="refreshGroupBy(convertedColumns,$index,groupby_column)" - ng-options="dt as dt for dt in store.supportedEncoding"> + ng-options="dt.value as dt.name for dt in getEncodings(groupby_column.name)"> <option value=""></option> </select> <span ng-if="state.mode=='view'">{{groupby_column.encoding}}</span>