Closed (fixed)
Project:
Facet API
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2012 at 16:27 UTC
Updated:
9 Sep 2012 at 23:11 UTC
Jump to comment: Most recent file

Comments
Comment #1
jhedstromThe reason for this can be seen here.
due to the active class, they aren't equal so the
$last != $this_pageevaluates to TRUE.Comment #2
cpliakas commentedjhedstrom,
Thanks for the detailed explanation. This bug is confirmed.
Chris
Comment #3
klaasvw commentedHere's a patch that removes the
$this_pageitem entirely.I'm not sure why this was added in the first place. Isn't it so that by default drupal's breadcrumb never links to the current page you're viewing? That's exactly what
$this_pageis, a link to the current page. So to stay consistent with how breadcrumbs work in drupal it might be better to remove this.Comment #4
cpliakas commentedI have been looking at this for a while. I have no idea why the code is necessary, I just know that at one time it was. Removing it seems to fix the problem, so I am marking as RTBC. Let's see if people yell at me once this code is circulated.
Comment #5
cpliakas commentedCommitted to the 7.x versions of Facet API.
Congrats on becoming the 32nd code contributor to Facet API!
Comment #6
klaasvw commentedThanks for committing this!
Comment #7
cpliakas commentedNP. Look forward to your next patch!