fix preview links and queries

• make sure that all links work for preview too
• display inactive journal entries in preview
Merge branch 'preview-editing' of github.com:rapila/plugin-journal into preview-editing