Refine by taxo w/ depth setting ...
matt_paz - April 4, 2007 - 14:09
| Project: | Refine by taxonomy |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
The refine by taxo blocks show up with depth settings, but don't work with them. For instance, I can go to /taxonomy/term/234/all and the taxonomy blocks show up, but don't work ...

#1
It seems to be this regex replacement in function refine_by_taxo_build_url:
$pattern = '/([0-9]+[+, ]?)+([,+ ])?$/';
$replacement = '$0' . $splitter . $refine_tid;
$path = preg_replace($pattern, $replacement, $_GET['q']);
The target of the links shown in the block are incorrect.