billy1380/blogwt

Previous button appears on posts available with direct link only

billy1380 opened this issue · 3 comments

Previous button appears on posts available with direct link only

This issue seems to have resolved itself 👍, but it has been hard to find posts that are marked as unlisted... so as part of the fix I will add an admin section to view all posts.

I managed to recreate the issue by un-listing a post that was previously listed... the behaviour in this case should be the same as the post being deleted as far as the previous and next post behaviour goes.

This also raises the issue of the archive i.e. un-listed posts should be removed from the archive.

This is mostly done except for the use case of removing an old post... When it is re-added... it is treated like a new post and messes up the chain!