Is it possible to do the option to use as an argument the term name of the content taxonomy instead of the id?,that would make the url more SEO like.

If I add this
LEFT JOIN term_data term_data2 ON node_data_field_tax_tipo_obra.field_tax_tipo_obra_value = term_data2.tid
and in the where clause
(term_data2.name = %1)

where %1 is the argument and field_tax_tipo_obra_value is a Content taxonomy field

Then I can do the select, but would be great to have this as an option when you are chossing the field argument.

I hope you think this is useful for you
Thank you a lot.

Comments

mh86’s picture

the current views support only provides the basic elements. I going to do some rework of the views integration (hopefully soon) and then I'm going to add this.

chipway’s picture

Hi,

Any thing new ?

I think that I have same issue "Error: handler for node_data_field_xxxxxxxxxx > field_xxxxxxxxxx_value doesn't exist! "

when I try to use a content taxonomy field as Filter in a View.

Thank you

summit’s picture

Subscribing, greetings, Martijn

drewish’s picture

Status: Active » Closed (duplicate)

actually this gets handled by the patch on #320349: Add a views relation so Content Taxonomy fields can use built-in taxonomy code so i'm marking it as a duplicate. please test that patch out.