Token replacement in Search API index view

Created on 13 August 2020, over 4 years ago
Updated 26 April 2024, 7 months ago

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

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code: General

Created by

πŸ‡ͺπŸ‡¬Egypt Mamoun

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine Terry_Kolodiy

    I'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!

Production build 0.71.5 2024