I want to put my custom list of ids to views filter but is seems to work only for one id. How can I do it for this list for example (1, 5, 9, 12, 455)

New contributor
Alexander Y is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
up vote 3 down vote accepted

You can use the filter operator for regular expressions and this regex:

1|5|9|12|455
  • And how can I make manual order for those nodes ? – Alexander Y Nov 10 at 17:32
  • Add a sort criteria Content: ID (ascending) to order the nodes the way you've specified. For an arbitrary order a View wouldn't be the right tool, because it uses SQL queries. You can try a custom block type with an entity reference field for nodes, which gives you a drag and drop sortable list, but there are many other ways depending on the use case. Ask a different question. – 4k4 Nov 11 at 9:02

Your Answer

Alexander Y is a new contributor. Be nice, and check out our Code of Conduct.
 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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