Browse Source

publish muk_web_searchpanel - 12.0

pull/115/head
MuK IT GmbH 6 years ago
parent
commit
acaa2ee7bb
  1. 2
      muk_web_searchpanel/__manifest__.py
  2. 5
      muk_web_searchpanel/static/src/js/kanban_searchpanel.js

2
muk_web_searchpanel/__manifest__.py

@ -20,7 +20,7 @@
{
'name': 'MuK Search Panel',
'summary': 'Kanban Search Panel',
'version': '12.0.1.0.2',
'version': '12.0.1.0.3',
'category': 'Extra Tools',
'license': 'AGPL-3',
'author': 'MuK IT',

5
muk_web_searchpanel/static/src/js/kanban_searchpanel.js

@ -127,8 +127,11 @@ var SearchPanel = Widget.extend({
});
Object.keys(category.values).forEach(function (valueId) {
var value = category.values[valueId];
if (value.parentId) {
if (value.parentId && category.values[value.parentId]) {
category.values[value.parentId].childrenIds.push(value.id);
} else {
value.parentId = false;
value[parentField] = false;
}
});
category.rootIds = Object.keys(category.values).filter(function (valueId) {

Loading…
Cancel
Save