changeset 2689 | 18d8486fd411 |
parent 2688 | dfe0439a0711 |
child 2691 | f8e0a007d99b |
--- a/app/soc/views/models/student_project.py Thu Jul 30 09:53:22 2009 +0200 +++ b/app/soc/views/models/student_project.py Thu Jul 30 10:01:57 2009 +0200 @@ -413,7 +413,7 @@ for list in content: # remove all the surveys that have no records attached list['data'] = [i for i in list['data'] if - list['logic'].hasAtLeastOneRecord(i)] + list['logic'].hasRecord(i)] # return the List Object with the filtered list content return soc.logic.lists.Lists(content)