~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/person.py

[r=stevenk][bug=720239] Ensure person picker results are ordered
        according to the relevance of the matches to the search term.

Show diffs side-by-side

added added

removed removed

Lines of Context:
597
597
    verbose_bugnotifications = BoolCol(notNull=True, default=True)
598
598
 
599
599
    signedcocs = SQLMultipleJoin('SignedCodeOfConduct', joinColumn='owner')
600
 
    ircnicknames = SQLMultipleJoin('IrcID', joinColumn='person')
 
600
    _ircnicknames = SQLMultipleJoin('IrcID', joinColumn='person')
601
601
    jabberids = SQLMultipleJoin('JabberID', joinColumn='person')
602
602
 
603
603
    entitlements = SQLMultipleJoin('Entitlement', joinColumn='person')
613
613
    personal_standing_reason = StringCol(default=None)
614
614
 
615
615
    @cachedproperty
 
616
    def ircnicknames(self):
 
617
        return list(self._ircnicknames)
 
618
 
 
619
    @cachedproperty
616
620
    def languages(self):
617
621
        """See `IPerson`."""
618
622
        results = Store.of(self).find(