From 267cc630276be2fde2ee1ebb1aa7a5b7c282532e Mon Sep 17 00:00:00 2001 From: Antony Lesuisse <al@openerp.com> Date: Tue, 3 Jun 2014 21:06:00 +0200 Subject: [PATCH] [FIX] website_crm_partner_assign infinite crawling disable url query fragment --- .../views/website_crm_partner_assign.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_crm_partner_assign/views/website_crm_partner_assign.xml b/addons/website_crm_partner_assign/views/website_crm_partner_assign.xml index ad502132ec21..5d2cfffe5154 100644 --- a/addons/website_crm_partner_assign/views/website_crm_partner_assign.xml +++ b/addons/website_crm_partner_assign/views/website_crm_partner_assign.xml @@ -42,7 +42,7 @@ <li class="nav-header"><h3>Filter by Grade</h3></li> <t t-foreach="grades" t-as="grade"> <li t-att-class="grade['active'] and 'active' or ''"> - <a t-attf-href="/partners#{ grade['grade_id'][0] and '/grade/%s' % grade['grade_id'][0] or '' }#{ current_country and '/country/%s' % slug(current_country) or '' }#{ '?' + (search_path or '') }"> + <a t-attf-href="/partners#{ grade['grade_id'][0] and '/grade/%s' % grade['grade_id'][0] or '' }#{ current_country and '/country/%s' % slug(current_country) or '' }#{ '?' + '' }"> <span class="badge pull-right" t-esc="grade['grade_id_count'] or ''"/> <t t-esc="grade['grade_id'][1]"/> </a> @@ -54,7 +54,7 @@ <li class="nav-header"><h3>Filter by Country</h3></li> <t t-foreach="countries" t-as="country"> <li t-if="country['country_id']" t-att-class="country['active'] and 'active' or ''"> - <a t-attf-href="/partners#{ current_grade and '/grade/%s' % slug(current_grade) or ''}#{country['country_id'][0] and '/country/%s' % country['country_id'][0] or '' }#{ '?' + (search_path or '') + (country['country_id'][0] == 0 and 'country_all=True' or '')}"> + <a t-attf-href="/partners#{ current_grade and '/grade/%s' % slug(current_grade) or ''}#{country['country_id'][0] and '/country/%s' % country['country_id'][0] or '' }#{ '?' + ''}"> <span class="badge pull-right" t-esc="country['country_id_count'] or ''"/> <t t-esc="country['country_id'][1]"/> </a> -- GitLab