Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am not sure if this is a bug or this is how it's intended to work. What I basically wanted to do is this:
1. Add a UID selective filter
2. In the Exposed Filter Select Box I wanted to Display something like this - UserName (UID)
However, if I try to rewrite the output of the UID field to something like above by Rewriting results of the field with a replacement pattern what shows up is the following
[user_name] 10343
So, basically the filter just ignores the replacement pattern. Anyway to do what I want to do?
Comments
Comment #1
david_garcia CreditAttribution: david_garcia commentedThis is supposed to be working as the filter generation obtains the displayed values from the rendered fields.
Maybe it got broke with any of the recent updates to the module.
You can try with an older version of the module or propose a patch.
Greetings,
Comment #2
g1r1p1 CreditAttribution: g1r1p1 commentedOkay, I just tried all the releases and it does not work with any version. Output is not rewritten with the field value in Selective Filter. Is there a quick fix possible?
Comment #3
g1r1p1 CreditAttribution: g1r1p1 commentedAny possible fix? Sorry, I am not so proficient with coding yet or I could have helped.
Comment #4
nattyweb CreditAttribution: nattyweb commentedAny update on this issue? I have hit the same problem with an otherwise excellent module.
Comment #5
aaron.silber CreditAttribution: aaron.silber commentedSimilar issue here. I'm using a location field and want to format a custom field like "Boston, MA" but can only get something like "Boston, [location:province]". I've wanted something like this for a while and it works as intended with a single field, but this adjustment would be even better.
Comment #6
david_garcia CreditAttribution: david_garcia commentedI guess it is time to convert this into what it is, a feature request.