Changeset 3985


Ignore:
Timestamp:
Nov 20, 2007, 2:08:30 PM (14 years ago)
Author:
Martin Svensson
Message:

Fixes #830

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/plugins/SimpleExport.java

    r3775 r3985  
    309309      query.setFirstResult(0);
    310310      query.setMaxResults(0);
     311      String propertyName = query instanceof ReporterScoreQuery ? "reporter.id" : "id";
    311312      query.restrict(
    312313        Restrictions.in(
    313           Hql.property("id"),
     314          Hql.property(propertyName),
    314315          Expressions.parameter("_selected_", selectedItems, Type.INT)
    315316        )
Note: See TracChangeset for help on using the changeset viewer.