I am trying to implement a block that displays the highest priority cases from casetracker. The problem is that it overwrites the breadcrumb on every page it displays on. The breadcrumb is always the same and references the last enry in the block. I have tested it by changing the number of items in the block, and each time it is the breadcrumb that should be displayed when the last entry in the block is displayed in full.
I have attached the view export.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | casetracker_1.patch | 1.29 KB | ambereyes |
| breadcrumb_view_issue.txt | 2.6 KB | ambereyes |
Comments
Comment #1
merlinofchaos commentedThis is most likely casetracker setting the breadcrumb.
Comment #2
ambereyes commentedI think I found the problem. My first patch!
The problem is twofold:
So I removed the nulls.
So I added a test for $page.
I made the changes and it fixed the problem.
Comment #3
morbus iffDuplicate of http://drupal.org/node/107178. Fixed in the latest 5.x version.
Comment #4
morbus iffambereyes: incidentally, your first patch is absolutely correct, and is just the way I fixed it in 5.x too. Excelsior! :)