Issue #8309 by cableman: Added SQL statement to fetch data need in the table
Issue #8309 by cableman: Ensure that sorting and pager is working
Issue #8309 by cableman: Added comments to limit based on dates for stats
Issue #8309 by cableman: Tried to fix time filtering
Issue #8309 by cableman: Fixed accepted answers
Issue #8309 by cableman: Fixed thumbs up in stats to show links given to the user
Merge branch 'feature/stats' into development