Problem/Motivation
When you use the module as a field in a view which is created of an index made by the Search API module, token replacements doesn't work.
Steps to reproduce
1- Create a view based on a search API index.
2- add a hidden from display field of the node ID
3- Add "Views add button" field
4- In the query settings, add a query with with the node ID token replacement.
Proposed resolution
-
Remaining tasks
User interface changes
Nothing
Comments
Comment #2
socialnicheguru commentedtoken replacement does not work when the view returns no results
Comment #3
terry_kolodiy commentedI've reproduced steps 1-4.
Created an Index view, added NID field (excluded from display), added "Entity Add Button" field with query setting nid={{ nid }}.
And I have a button with link /node/add/movie?destination=/articles&nid=3
Everything works as expected. Looks like the issue is not reproducible and should be closed. Thanks!
Comment #4
terry_kolodiy commentedClosed due to inactivity and inability to reproduce the issue.
Feel free to reopen the ticket with additional details if the problem persists
Comment #5
terry_kolodiy commented