- Issue created by @vinaysamant
I m using this module in my every drupal site and very grateful for this cool n useful module.
Recently i m developing a matrimony website, that can be seen at https://nirmalmatrimony.com/
Idea is, when registered member login, i show him profiles of opposite gender. So if the user is male (field_gender) then he should see recently registered profiles of females. Currently using contextual filter for this. But actually it takes very weired path to achieve something that is simple.
VFC module provides readymade token fields for filteration. I should be able to add simple filter that checks each profile's gender against currently logged in user and filter accordingly. This is possible with text n numeric field. My field_gender is also numeric but it's select field. So VFC module does not provide token support if i take field_gender for filteration. And i have to take contextual filter path..
Add List field with numeric data. add sample options and create some sample records. try to use this field in views filter criteria and it will not show option to use field tokens. But it shows that option with normal numeric field.
I think checks if the field is numeric, text or date when used in filter and avails field tokens. If we can add additional reference here to allow numeric select & text select field then this should work.
If someone can guide me, i can get my hands dirty here...
Active
2.0
Code