summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2017-10-18 16:19:45 -0700
committerJeremy Kersten <jke@odoo.com>2017-10-19 10:06:50 +0200
commit41897f0dbabebd8b6efb616423735c939f86ae94 (patch)
treea499f4363e28025a713fe90ef20fbfa36501926a /addons/web/static/src/js/views/basic/basic_controller.js
parentd2b5af9ba742f0e5a1a89fd5b72c64e6d21faa8d (diff)
[FIX] website: respect website.page date_publish
Before this public users could see pages before their date_publish. request.website.is_publisher is a function that always exists. So the if body will never be executed. Additionally, is_visible is a non-stored computed field that can't be searched. So instead grab all records that match and filter the ones that are visible. This commit closes #20296
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions