~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Francis J. Lacoste
  • Date: 2011-06-06 20:56:43 UTC
  • mfrom: (13165 devel)
  • mto: This revision was merged to the branch mainline in revision 13180.
  • Revision ID: francis.lacoste@canonical.com-20110606205643-b53boddbakyllkgg
Merge 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))