diff options
| author | Joren Van Onder <jov@odoo.com> | 2017-10-18 16:19:45 -0700 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-10-19 10:06:50 +0200 |
| commit | 41897f0dbabebd8b6efb616423735c939f86ae94 (patch) | |
| tree | a499f4363e28025a713fe90ef20fbfa36501926a /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | d2b5af9ba742f0e5a1a89fd5b72c64e6d21faa8d (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
