How to create a view of surveys not answered by the current user

Created on 15 December 2024, about 2 months ago

I have a view with a list of surveys, I want that when the current user answers a survey, the survey disappears from the view. Only surveys not answered by this user should be displayed.

💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

🇫🇷France zenimagine

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

Comments & Activities

  • Issue created by @zenimagine
  • 🇧🇪Belgium BramDriesen Belgium 🇧🇪

    Hmm, good question. I'm not sure if it's currently possible to add a relationship to the vote table in a view to check if a user has voted. Might be better to write a custom view plugin or something that does this logic, as a relation ship on the votes table is probably way too heavy.

  • 🇫🇷France zenimagine

    It's a shame that this module is so limited, because when I look at my survey view, there are almost no filters.

    Cannot sort surveys, for example display first the surveys that the current user has not answered.

    Cannot create surveys for certain roles, ...

  • ivnish Kazakhstan

    This is opensource, bro. If you want some cool features, you need to develop or sponsor it.

  • 🇧🇪Belgium BramDriesen Belgium 🇧🇪

    This is the first time I personally see this requirement as well. It should not be too hard to create an implementation for this. But I personally have no time for this.

    Classifying as feature request. Feel free to work on this and provide an issue fork / merge request.

Production build 0.71.5 2024