Refactoring SQL query for most recent posts.
Merge pull request #116 from abmargb/develop

Refactor SQL query for most recent posts