dokufreaks/plugin-blogtng

Tags are required for list to work correctly

legege opened this issue · 2 comments

When creating a post without defining tags, the list feature stops to work: no blog post are listed.

This is due to the SQL query in the get_posts method, which always includes the "tags" table. I believe the tags table should only be in the query when there is tags specified in the list conf.

Oh, this occurs only if the "tags" table is empty.

I've removed the tags table in 4b94f30 when it isn't needed.