~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/model/questionsperson.py

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
            UNION SELECT question FROM QuestionSubscription
41
41
                  WHERE person = %(personID)s
42
42
            UNION SELECT question
43
 
                  FROM QuestionMessage JOIN Message ON (message = Message.id)
 
43
                  FROM QuestionMessage
44
44
                  WHERE owner = %(personID)s
45
45
            )""" % sqlvalues(personID=self.id),
46
46
            clauseTables=['Question'], distinct=True))