NewsfeedsModelNewsfeeds::getListQuery

Build an SQL query to load the list data.