~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-05-23 18:43:31 UTC
  • mfrom: (13084.2.6 page-match-rewrite-url)
  • Revision ID: launchpad@pqm.canonical.com-20110523184331-dhd2c7cgfuu49epw
[r=sinzui][bug=784273] Adds facility to the PageMatch to handle bad
        URIs

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
 
43
                  FROM QuestionMessage JOIN Message ON (message = Message.id)
44
44
                  WHERE owner = %(personID)s
45
45
            )""" % sqlvalues(personID=self.id),
46
46
            clauseTables=['Question'], distinct=True))