P
P
Pavel2015-05-14 17:21:57
Drupal
Pavel, 2015-05-14 17:21:57

How can multiple values ​​be used in the same expanded filter field?

There is, let's say, an open form created through views. There is one text field in the form, it takes the nid of the node as a value. Those. we enter 123, and at the output we get a node with id 123.
Question: how can I process several values ​​through this field, for example, I enter 123, 456 and the output should get nodes with id 123 and id 456 .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2015-05-16
@andead

It just won't work. Solutions:
1. Write your own filter handler
2. Alter the query to the database in one of the views hooks or in hook_query_alter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question