Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
784 views
in Q2A Core by
It seems to be not able to delete questions that have answers or comments? I can hide then delete question if it has no answers or comments, but if i hide question has answers/comments, i can see just reshow button but no delete button.

1 Answer

0 votes
by

When you hide a post in Q2A, its children are not hidden automatically*. And when running the delete script in admin, it only deletes posts that have no visible children.

However, if you need to delete a entire question you can, by hiding all its answers and comments first then running the delete script. This is a bit time consuming but currently it's the only way.

* This is actually quite logical, because if an answer has one shown comment and one hidden comment, if you hide the answer then reshow it you need to keep the one comment visible and one hidden.

...