Token is not replaced when used in grouped exposed filter

Created on 9 February 2021, almost 4 years ago
Updated 1 September 2023, over 1 year ago

Hi,
I tried to used this module to generate a grouped exposed filter on entity's author to filter it against [current-user:uid] and the token is not replaced.

It generates this query, note that it works fine when using it as default value of an unique exposed filter.

SELECT media.mid AS media_mid, media_field_data.created AS media_field_data_created, media_field_data.name AS media_field_data_name, media_field_data.mid AS mid
FROM
{media_field_data} media_field_data
INNER JOIN {media} media ON media_field_data.mid = media.mid
WHERE ((media_field_data.status = 1 OR (media_field_data.uid = 1 AND 1 <> 0 AND 1 = 1) OR 1 = 1)) AND (media_field_data.default_langcode = '1') AND (media_field_data.uid = '[current-user:uid]')
ORDER BY media_field_data_created DESC
LIMIT 25 OFFSET 0
🐛 Bug report
Status

Fixed

Version

1.5

Component

Code

Created by

🇫🇷France ericdsd France

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.

Production build 0.71.5 2024