Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to limit post category shown on group page #9114

Closed
thewilloftheshadow opened this issue Dec 15, 2020 · 3 comments
Closed

Unable to limit post category shown on group page #9114

thewilloftheshadow opened this issue Dec 15, 2020 · 3 comments
Assignees
Milestone

Comments

@thewilloftheshadow
Copy link

  • NodeBB version: 1.15.5
  • NodeBB git hash: bd5c4a5
  • NodeJS version: v12.20.0
  • Installed NodeBB Plugins:
    Active plugins:
    * nodebb-plugin-beep (installed, enabled)
    * nodebb-plugin-browsing-users (installed, enabled)
    * nodebb-plugin-btn-spoilers (installed, enabled)
    * nodebb-plugin-composer-default (installed, enabled)
    * nodebb-plugin-custom-homepage (installed, enabled)
    * nodebb-plugin-custom-pages (installed, enabled)
    * nodebb-plugin-dbsearch (installed, enabled)
    * nodebb-plugin-desktop-notifications (installed, enabled)
    * nodebb-plugin-emailer-sendgrid (installed, enabled)
    * nodebb-plugin-emoji (installed, enabled)
    * nodebb-plugin-gravatar (installed, enabled)
    * nodebb-plugin-iframely (installed, enabled)
    * nodebb-plugin-markdown (installed, enabled)
    * nodebb-plugin-mentions (installed, enabled)
    * nodebb-plugin-poll (installed, enabled)
    * nodebb-plugin-registration-notification (installed, enabled)
    * nodebb-plugin-spam-be-gone (installed, enabled)
    * nodebb-rewards-essentials (installed, enabled)
    * nodebb-theme-lavender (installed, disabled)
    * nodebb-theme-persona (installed, enabled)
    * nodebb-widget-essentials (installed, enabled)
  • Database type: mongo
  • Database version: 4.2.11 (Mongo Atlas)
  • Exact steps to cause this issue:
  1. Open the page for a group
  2. Under group administration, limit the posts for the group page to one category (also happens with multiple selections)
  3. Save changes
  • What you expected:
    Group updates to only that category's posts are shown
  • What happened instead:
    Received Error: values.memberPostCids.filter is not a function, and the setting does not save
@thewilloftheshadow thewilloftheshadow changed the title Unable to Unable to limit post category shown on group page Dec 15, 2020
@barisusakli barisusakli self-assigned this Dec 15, 2020
@barisusakli barisusakli added this to the 1.16.0 milestone Dec 15, 2020
@barisusakli
Copy link
Member

@thewilloftheshadow thanks for reporting, you should be able to save in the ACP since that page seems to work. Fix will be in 1.16.0

@thewilloftheshadow
Copy link
Author

@barisusakli After changing the setting in the ACP, it saves properly and shows up as saved in the Group Administration section on the group page, but the filter doesn't actually take effect, and it still shows posts from anywhere on the forum

@barisusakli
Copy link
Member

I think that's how it works right now, when new posts are made by members of the group only the posts in those selected categories will show up and the old ones will just disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants