~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/models/testsystem.py

  • Committer: Marc Tardif
  • Date: 2012-03-21 22:32:04 UTC
  • Revision ID: marc.tardif@canonical.com-20120321223204-8g7mvzzwmh8ifbrt
Added support for getting systems from a person (LP #899361)

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
                    search_params.project_series,
102
102
                    modifier=lambda x: x.id))
103
103
 
 
104
        if search_params.person:
 
105
            expressions.append(
 
106
                search_to_expression(
 
107
                    TestStat.person_id,
 
108
                    search_params.person,
 
109
                    modifier=lambda x: x.id))
 
110
 
104
111
        return expressions
105
112
 
106
113
    def buildSearchResult(self, search_params):