When I try to Rewrite title in views that gets arguments from global filter it shows Id of global filter field (taxonomy reference) when I post My title %1.
It shows My title + id number!
May you recheck it?

Comments

RdeBoer’s picture

Thanks for the report. Will look at this later this week.

RdeBoer’s picture

Status: Active » Postponed (maintainer needs more info)

So I had a look. Not sure if this is Global Filter's fault.
If I select "Provided default value" and then "Fixed value" and enter a taxonomy term id, then the %1 in title also renders as the term id, not the term name.
Do you find this too?

Jarviss’s picture

Well I found it on taxonnomy term page where views is active and Term Name it shows, but when I try to add %2 that is global filter term reference field it shows id.

Jarviss’s picture

When I use simple tag argument and rewrite for title %1 it shows Title not id.
I think it comes from Global filter!

RdeBoer’s picture

I think it is because Global Filter uses the Term ID not the Term Name. So the Term ID is in fact the contextual argument and that is what shows up when you use %1 or !1....

Jarviss’s picture

Yes I think you are right and it shows id! Rik have you thought about it, how to change output?
I think Views module makes the same change and answer can be in code of Views, because if Argument/Contextual filter is term id it will rewrite title with term name!

RdeBoer’s picture

As far as I can see this is a Views thing. Global Filter doesn't touch the %-syntax. But it requires taxonomy term id's, it can't work with term names.
Are you saying that when you disable Global Filter those same %1's suddenly change from showing term Id's to showing term names?

RdeBoer’s picture

Assigned: Unassigned » RdeBoer
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

The canned view /taxonomy/term/% that comes with Views uses a different contextual argument, namely "Has taxonomy term ID (with depth)".
That contextual argument cannot be used by Views Global Filter, which requires a true FIELD on the content type. For these contextual arguments Views renders %1 when entered for the View Title as the term id, not the term name.

Nothing Views Global Filter can do about that. Sorry.