0

I'm trying to create a view for solr search results, what I'd like to do is have have a page in the view each of which pull data from the same set of results but filter them based on matching part of the URL to a field in the content type being indexed.

The problem is the part of the URL used for matching won't match the value of the field in content type, so I was thinking of having a list of some sort which would match the URL with the corresponding field value.

Is this even possible? If it's not I could always create a new view page for each possible URL & manually set a filter criteria. I was just hoping that rather than creating multiple view pages I could do it with one.

1 Answer 1

0

I wasn't able to do exactly what I wanted but what I did instead was create an exposed filter for the field in the content type being searched & use the URL parameter it created when in use to filter search results.

The exposed form itself is hidden with CSS as just including the filter without exposing it won't allow it to be activated via a URL parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.