summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-08-01 13:29:37 +0200
committerNicolas Lempereur <nle@odoo.com>2017-08-01 13:56:26 +0200
commit69925ca6f0c539290b690d8b6ff55327ceeae696 (patch)
tree2fbf35f7940a7bd8c8b4f09259b7d46be1038082 /addons/web/static/src/js
parentbbd4e7e292ec00c66ddd9306cad32dd013e579d0 (diff)
[FIX] web: display prev/next arrow after grouping
On a list view, if we group records the arrows and changing page feature are disabled. But if then we removed the grouping, the arrows never reappeared. note: not necessary as of 9.0 it was already solved in 1280bf251 opw-760956 closes #18596
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/view_list.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index 8d83acab79d..75d5875712d 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -1628,6 +1628,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
self.render_groups(groups));
if (post_render) { post_render(); }
}, function (dataset) {
+ self.view.$pager.find('.oe_page_group').css('display', '');
self.render_dataset(dataset).then(function (list) {
self.children[null] = list;
self.elements =