Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

[Group] Dynamic group list #83

Open
tadam75 opened this issue Dec 28, 2016 · 0 comments
Open

[Group] Dynamic group list #83

tadam75 opened this issue Dec 28, 2016 · 0 comments

Comments

@tadam75
Copy link

tadam75 commented Dec 28, 2016

Hello,

For the moment in the metadatas, I can only give a static list of facet I want to group on.

Example :

  groupList: [
        'Division',
        'Entite',
        'ZoneGeographique'
    ]

But the list of facet is dynamic server side (according to the user), so I'd like to have the possibility to give a dynamic list.

Something like that :

  groupList: 
    session.user.isChuckNorris ?
    [
        'Division',
        'Entite',
        'ZoneGeographique'
    ] : 
    [
        'Division',
        'Entite'
    ] 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants