[FIX] website_hr_recruitment: fix typo in 'All Offices' dynamic url
Add missing '#' that prevent correct evaluation of the dynamic href
attribute.
To reproduce:
- To to /jobs
- Ensure 'Office Filter' page option is enabled
(if not edit the page and enable it)
- Click the office dropdown and hover 'All Offices'
We ends ups with a URL like:
`/jobs?{'all_countries=1' if is_remote else current_country_path}`
closes odoo/odoo#137907
X-original-commit: 8f3277c32f750a04dbfcfb3dd817b15bf0720574
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
Signed-off-by: Xavier Alt (xal) <xal@odoo.com>
This commit is contained in:
@@ -784,7 +784,7 @@
|
||||
<t t-else="">All Offices</t>
|
||||
</button>
|
||||
<div class="dropdown-menu w-100 w-md-auto" aria-labelledby="officesDropdown">
|
||||
<a t-attf-href="/jobs?{'all_countries=1' if is_remote else current_country_path}#{non_location_params}"
|
||||
<a t-attf-href="/jobs?#{'all_countries=1' if is_remote else current_country_path}#{non_location_params}"
|
||||
t-attf-class="dropdown-item d-flex align-items-center justify-content-between nav-link#{'' if office_id or is_remote else ' active'}">
|
||||
All Offices
|
||||
<span t-attf-class="badge rounded-pill#{' bg-primary' if office_id or is_remote else ' bg-light text-primary'} ms-2 px-2" t-out="count_per_office.get('all', '0')"/>
|
||||
|
||||
Reference in New Issue
Block a user