Drupal 7 Views Contextual Filters

2019-04-15 00:43发布

I'm trying to create a view with a contextual filter on the title of the node and was wonder if there was a way to pass in a single letter as the argument and have the view return all node that begin with that letter?

Currently I've not found a way to do this, I have to pass in the full title of the node for it to work properly.

Thanks for any help.

1条回答
放荡不羁爱自由
2楼-- · 2019-04-15 01:23

To get this to work I had to provide a default value: Default Value

And then I also had set up the Glossary Mode: Glossary Mode

I had set up the Glossary Mode before but it wasn't working the way I had expected. I guess the default value is required for it to work?

查看更多
登录 后发表回答