diff -r dfe0439a0711 -r 18d8486fd411 app/soc/views/models/student_project.py --- 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)