Hi,

I'm struggling to get exposed filters to work with a view that has an argument in the middle of the url.

URL: node/$group/works

Exposed Filter: Taxonomy terms from Category

Now, after selecting some filter option and hitting "submit" I'm redirekted to this URL:

/node/%24group/works/4?filter0%5B%5D=32

which is somehow messed up. Fixing the URL to

/node/4/works?filter0%5B%5D=32

displays the filtered view just fine.

Any thoughts?

Comments

merlinofchaos’s picture

The code that generates this URL probably believes that $arg is the only replacement still. This is the reason I have not advertised non $arg URL tokens as a feature, as I knew that there would be instances such as this that have not yet been corrected.

najibx’s picture

Version: 5.x-1.6 » 5.x-1.6-beta5

Looks like this issue is still not resolved with the latest beta5 version?

merlinofchaos’s picture

Version: 5.x-1.6-beta5 » 5.x-1.6

THis hasn't been fixed, but beta5 is not latest; 1.6 is.

WorldFallz’s picture

Just got bit by this one. I'd be happy to take a crack at this and submit a patch I'm just not sure where to begin-- if anyone has any ideas where the code is I need to look I'd appreciate it. Thanks.

WorldFallz’s picture

Status: Active » Closed (duplicate)

Nevermind, rerolled a patch I found in #183191: Tokens not substituted in breadcrumb which fixes the problem. Marking as dupe.