portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser DatabaseBrowserAction.java
Date Fri, 03 Oct 2003 00:06:59 GMT
taylor      2003/10/02 17:06:59

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets/browser
                        DatabaseBrowserAction.java
  Log:
  placed the filter event in the wrong place
  
  Revision  Changes    Path
  1.32      +6 -5      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser/DatabaseBrowserAction.java
  
  Index: DatabaseBrowserAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser/DatabaseBrowserAction.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- DatabaseBrowserAction.java	2 Oct 2003 22:34:22 -0000	1.31
  +++ DatabaseBrowserAction.java	3 Oct 2003 00:06:59 -0000	1.32
  @@ -412,10 +412,6 @@
               while(rs.next())
               {
                   List row = new ArrayList(columnNum);
  -                if (filter(row))
  -                {
  -                    continue;
  -                }
   
                   for(int i = 1; i <= columnNum; i++)
                   {
  @@ -438,6 +434,11 @@
                           row.add(c.newInstance());
                           populate(index, i, row);
                       }
  +                }
  +                
  +                if (filter(row))
  +                {
  +                    continue;
                   }
   
                   resultSetList.add(row);
  
  
  

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


Mime
View raw message