liqd/adhocracy — pull request #677 by xi (2013-12-12 17:18:44+00:00)
Title: fix event hidden_instance

The filter for not showing events from hidden instances is currently broken. It uses an inner join and thereby removes any rows from the query which are not associated with an instance.

The first commit creates an `all_q` method in model.Event so that the fix can be implemented DRYly.