sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
177 stars 20 forks source link

Child pages are not taken care of, when the parent page is moved #244

Open kha84 opened 1 year ago

kha84 commented 1 year ago

I think I found another bug here (or is it an expected behavior?) . Imagine you have this page structure:

Parent1
  Child11
  Child12
Parent2
  Child21

If you open up Parent2 and move it to be under Parent1, the Child21 will disappear from the sidebar:

Parent1
  Child11
  Child12
  Parent2

... however the Child21 page is still accessible via "All pages"

I'm guessing the expected behavior here would be to take all the child pages together with parent one, while doing this move, so the resulted structure should be like:

Parent1
  Child11
  Child12
  Parent2
     Child21