|
From: <sv...@de...> - 2005-06-08 16:41:33
|
Author: pcamacho
Date: 2005-06-08 12:41:35 -0400 (Wed, 08 Jun 2005)
New Revision: 1265
Modified:
humano2/trunk/web/portal/site/leftbar.aspx.cs
Log:
FIX: the leftbar in portal was not filtering by domain.
Modified: humano2/trunk/web/portal/site/leftbar.aspx.cs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- humano2/trunk/web/portal/site/leftbar.aspx.cs 2005-06-08 16:31:07 UTC=
(rev 1264)
+++ humano2/trunk/web/portal/site/leftbar.aspx.cs 2005-06-08 16:41:35 UTC=
(rev 1265)
@@ -194,9 +194,11 @@
private string getClassList(adapter dbAdapter)
{
string xmlString =3D "";
- =20
+ =20
+ string domainFilter =3D String.Format("34|4|'{0}'|1|0;",user=
Cred.DomainIds[userCred.CurrentDomainIndex]);
+ =20
//Get the list of all user classId
- string filter =3D "0|2|'10000'|0|0"; //Select only user clas=
s (id_entity > 10000)
+ string filter =3D domainFilter + "0|2|'10000'|0|0"; //Select=
only user class (id_entity > 10000)
DataTable DTClassList =3D dbAdapter.GenerateViewTools(2,"0",=
filter,"","","",0);
xmlString +=3D "<classes>";
xmlString +=3D"<reload>true</reload>";
|