Changeset 3560


Ignore:
Timestamp:
Jul 16, 2007, 12:02:25 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #573. Must also trim annotation values or the filter will not display the selected value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/ColumnDef.java

    r2942 r3560  
    604604          for (int i = 0; i < enumeration.size(); ++i)
    605605          {
    606             String selected = filterValue.equals(enumeration.getKey(i)) ? " selected" : "";
     606            String selected = filterValue.equals(enumeration.getKey(i).trim()) ? " selected" : "";
    607607            sb.append("<option value=\"").append(enumeration.getKey(i)).append("\"").append(selected);
    608608            sb.append(">").append(enumeration.getValue(i)).append("\n");
Note: See TracChangeset for help on using the changeset viewer.