portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r519196 - /portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java
Date Sat, 17 Mar 2007 00:49:50 GMT
Author: taylor
Date: Fri Mar 16 17:49:49 2007
New Revision: 519196

URL: http://svn.apache.org/viewvc?view=rev&rev=519196
Log:
http://issues.apache.org/jira/browse/JS2-664

Modified:
    portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java

Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java?view=diff&rev=519196&r1=519195&r2=519196
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java
(original)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserBrowser.java
Fri Mar 16 17:49:49 2007
@@ -140,7 +140,9 @@
 
     public void getRows(RenderRequest request, String sql, int windowSize, String filter)
     {
-        String roleFilter = request.getPreferences().getValue("FilterByRole", "");
+        String roleFilter = request.getPreferences().getValue("FilterByRole", "");
+        if (roleFilter == null)
+            roleFilter = "";
         boolean filterByRole = !roleFilter.equals("") || roleFilter.equalsIgnoreCase("false");
         List resultSetTitleList = new ArrayList();
         List resultSetTypeList = new ArrayList();



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message