- Bugfix bei Filter für OrgForm

Filter stimmt nun auch wenn der Student die OrgForm wechselt
This commit is contained in:
Andreas Österreicher
2010-09-17 12:28:13 +00:00
parent 4ea4da581f
commit 9cd38b370f
+2 -2
View File
@@ -376,10 +376,10 @@ if($xmlformat=='rdf')
//die Orgform keine ruecksicht genommen
if($verband=='' && $gruppe=='' && $orgform!='')
{
$where.=" AND EXISTS(SELECT prestudent_id FROM public.tbl_prestudentstatus WHERE prestudent_id=tbl_prestudent.prestudent_id AND orgform_kurzbz='$orgform'";
$where.=" AND '$orgform' = (SELECT orgform_kurzbz FROM public.tbl_prestudentstatus WHERE prestudent_id=tbl_prestudent.prestudent_id";
if($studiensemester_kurzbz!=null)
$where.=" AND studiensemester_kurzbz='$studiensemester_kurzbz'";
$where.=")";
$where.=" ORDER BY datum desc, insertamum desc, ext_id desc LIMIT 1)";
}
}