DNNCommunity / DNN.Faq

DNN FAQ is a basic module used for displaying frequently asked questions on your DNN site.
https://dnncommunity.github.io/DNN.Faq/
MIT License
17 stars 20 forks source link

Treeview category mode only shows "All Questions" #26

Closed valadas closed 6 years ago

valadas commented 6 years ago

Describe the bug

Treeview category mode only shows "All Questions" even tough there are categories and questions associated to them

To Reproduce

Steps to reproduce the behavior:

  1. Create a few categories
  2. Create a few questions and assign them to a category
  3. Set the module settings to show categories as a Treeview
  4. Notice only "All Questions" shows in the treeview

Expected behavior

All categories should show in the treeview

Screenshots

image

Error log

No error in javascript console or Dnn log

PR #21 may have the solution to this but also has another fix that is already implemented and would create a conflict in merging it at this stage. I will try to cherry pick just the fix for this issue and close #21 after.