humhub / polls

Empower your users to create polls and survey to drive engagement and gather valuable insights from your community.
16 stars 24 forks source link

"No answered yet" filter not working #60 #70

Closed MasterHans closed 4 years ago

MasterHans commented 4 years ago

What was done: 1) Renamed filter keys in view show. Suggesting that 'entry_mine' Filters only content created by the query $user and "Asked by me" are the same things.

2) $this->activeQuery - depricated since 1.7 replaced it with $this->streamQuery->query() 3) $this->streamQuery->filters will be empty and filter "no answered yet" will not work until we resolve issue Needed to add "filters" attribute inside rules method of StreamQuery model #4453 in main humhub repository in the humhub\modules\stream\models\StreamQuery. load method of get-parameters works for the model only if rules attribute defined. Here is a link to the mentioned issue: https://github.com/humhub/humhub/issues/4453

luke- commented 4 years ago

@buddh4 Can you please take a look?

MasterHans commented 4 years ago

@buddh4 all done! Thank you!