Commit d11c4d54 authored by Evren Kutar's avatar Evren Kutar

hotfıx: filter interface +

parent 65d8cbb6
...@@ -323,15 +323,17 @@ angular.module('formService', ['ui.bootstrap']) ...@@ -323,15 +323,17 @@ angular.module('formService', ['ui.bootstrap'])
}; };
var modelItems = []; var modelItems = [];
//var modelKeys = []; var modelKeys = [];
angular.forEach(scope.model[k], function (value, mkey) { angular.forEach(scope.model[k], function (value, mkey) {
modelItems.push({ modelItems.push({
"value": value[v.schema[0].name].key, "value": value[v.schema[0].name].key,
"name": value[v.schema[0].name].unicode "name": value[v.schema[0].name].unicode
}); });
//modelKeys.push(value[v.schema[0].name].key); var modelKey = {};
modelKey[v.schema[0].name] = value[v.schema[0].name].key;
modelKeys.push(modelKey);
}); });
scope.model[k] = angular.copy(modelItems); scope.model[k] = angular.copy(modelKeys);
formitem = { formitem = {
type: "template", type: "template",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment