[FIX] view_list: hide pager in view group

Displaying the pagert in view group does not make sense as it's not updated when changing filter and every group (even if more than 80) is displayed in view group
This commit is contained in:
Martin Trigaux 2014-06-27 15:28:34 +02:00
parent f55e4a5e14
commit 30ac7248d6
1 changed files with 1 additions and 0 deletions

View File

@ -1573,6 +1573,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
.filter(function (column) { return column.tag === 'field' })
.pluck('name').value(),
function (groups) {
self.view.$pager.hide();
$el[0].appendChild(
self.render_groups(groups));
if (post_render) { post_render(); }