I use a text field to collect node data and need to sort for only specific values.

However I can only pass one value to the filter via the url. I would like to be able to do something like this.

?field_test_value=apple&?field_test_value=orange

I understand this can be done if a content field is a select list or checkbox but in this case it does not apply as the users can upload whatever they wish to the text field but I only filter for certain terms.

Comments

msakurada’s picture

IDK, but off the top of my head you need to loose the second question mark to properly format a query string. i.e.
?field_test_value=apple&field_test_value=orange

netentropy’s picture

That was just a typo. But it will not accept two. Thanks though.

Anyone ?

keyswebsites’s picture

Yes, you need to configure a contextual filter to pass arguments to the view through the url, then just separate the values with commas or plus signs. Make sure you add the wild card of /% to the view page's path settings. HTH.

mustanggb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)