Changeset 10039


Ignore:
Timestamp:
18 Mar 2013, 11:08:51 (12 years ago)
Author:
Henrik Bettermann
Message:

Return list of unique StudentQueryResultItem? objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r10024 r10039  
    27512751        hitlist = []
    27522752        for ticket in coursetickets:
    2753             # XXX: If students have registered the same courses twice
    2754             # they will be listed twice.
    27552753            hitlist.append(StudentQueryResultItem(ticket.student, view=self))
    2756         return hitlist
     2754        return list(set(hitlist))
    27572755
    27582756class ExportJobContainerOverview(KofaPage):
Note: See TracChangeset for help on using the changeset viewer.