GigaOM/go-related — pull request #5 by borkweb (2014-12-08 15:22:18+00:00)
Title: Don't include xposted research in related stories. Fix broken query.

The `$pro_channel` and `NOT EXISTS` lines exclude the xposted Pro content. The rest of the changeset fixes a bug that causes the related query to fail to generate properly if the given post doesn't have terms in all the supported taxonomies.

See: https://github.com/GigaOM/gigaom/issues/6283