DiscourseDB / discoursedb-browser

Web interface to DiscourseDB's REST api
Apache License 2.0
3 stars 0 forks source link

Only put discourse parts in the browser's left hand menu if they do not have a parent #16

Closed cbogart closed 5 years ago

cbogart commented 5 years ago

Having multiple ways to navigate to a discourse part is confusing; if a SUBFORUM dp is contained in a FORUM dp, then the SUBFORUM should not be accessible from the top-level SUBFORUM type. In this example, "Crito in English" and "Crito in Greek" will move up under "Dialogs of plato" if that subtree is opened, which is confusing.

image

To fix this: discoursedb-api-rest should only list discourseparts in the top level of query responses if they have no parent discourseparts.

cbogart commented 5 years ago

Fixed this on the server side (in discoursedb/discoursedb-core@daff36346789)