Limit jobs shown by site

This doesn't handle a ton of edge cases and allows for filtering on the current site only. It will break My.jobs postajob pretty much entirely at this point, which I'm trying to find a way around. I'm also trying to think up all the edge cases. At a little over 900 lines, it's time for someone to at least start reviewing it, though.

All tests pass.
That explains it. Thanks. :+1:

On Mon, Oct 6, 2014 at 4:51 PM, Ashley Mathew <notifications@github.com>
wrote:

> In universal/helpers.py:
>
> >
> >      if not request.user or request.user.is_anonymous():
> >          return None
> > +
> > +    # If settings.SITE is set we're on a microsite, so get the company
> > +    # based on the microsite we're on instead.
> > +    if settings.SITE:
>
> It's using the host middleware, which is what sets the site information by
> domain name. So conjunction, if I understand your question correctly.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/DirectEmployers/MyJobs/pull/926/files#r18484480>.
>