mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 21:32:18 -06:00
[MIG] document_page_portal: Migration to 14.0
This commit is contained in:
@@ -72,8 +72,6 @@ class CustomerPortal(CustomerPortal):
|
||||
sortby = "date"
|
||||
order = searchbar_sortings[sortby]["order"]
|
||||
|
||||
# archive groups - Default Group By 'create_date'
|
||||
archive_groups = self._get_archive_groups("document.page", domain)
|
||||
if date_begin and date_end:
|
||||
domain += [
|
||||
("create_date", ">", date_begin),
|
||||
@@ -114,7 +112,6 @@ class CustomerPortal(CustomerPortal):
|
||||
"page_name": "document_page",
|
||||
"default_url": "/my/knowledge/s",
|
||||
"pager": pager,
|
||||
"archive_groups": archive_groups,
|
||||
"searchbar_sortings": searchbar_sortings,
|
||||
"searchbar_inputs": searchbar_inputs,
|
||||
"sortby": sortby,
|
||||
|
||||
Reference in New Issue
Block a user