Hi
Patch adds a 'username' option to webaccess user search for sharing.
Pl review.
Thanks
Johnny
Index: Share.aspx.cs
===================================================================
--- Share.aspx.cs (revision 6654)
+++ Share.aspx.cs (working copy)
@@ -150,6 +150,7 @@
CancelButton.Text = GetString("CANCEL");
// properties
+ SearchPropertyList.Items.Add(new ListItem(GetString("USERNAME"), SearchProperty.UserName.ToString()));
SearchPropertyList.Items.Add(new ListItem(GetString("FIRSTNAME"), SearchProperty.FirstName.ToString()));
SearchPropertyList.Items.Add(new ListItem(GetString("LASTNAME"), SearchProperty.LastName.ToString()));
@@ -247,7 +248,11 @@
// display name
switch(prop)
- {
+ {
+ case SearchProperty.UserName:
+ name = user.UserName;
+ break;
+
case SearchProperty.LastName:
name = String.Format("{0}{1}{2}", user.LastName,
GetString("LASTFIRSTNAMESEP"), user.FirstName);
@@ -582,4 +587,4 @@
#endregion
}
}
-}
\ No newline at end of file
+}
Index: ChangeLog
===================================================================
--- ChangeLog (revision 6654)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2007-01-22 Johnny Jacob <[EMAIL PROTECTED]>
+
+ * Share.aspx.cs : Add UserName to the searchbar. Fixes #235073.
+
2007-01-12 Johnny Jacob <[EMAIL PROTECTED]>
* Browse.aspx.cs : Resolve the location of remote iFolder.
_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev