Sorting does not work after using ColQueryImpl.countDistinct()

Bug #616476 reported by indeietz on 2010-08-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

Sorting does not work after using ColQueryImpl.countDistinct().

ColQuery q = new ColQueryImpl();

q.from(QUser.user, data());

long size = q.countDistinct();

q.offset(0).limit(10);

q.orderBy(QUser.user.code.asc());

q.listDistinct(QUser.user.asExp());

Thanks for your bug report. Fixed in SVN trunk.

Is asExp() supposed to be asExpr()? I think this call is unnecessary.

Changed in querydsl:
status: New → Fix Committed
security vulnerability: yes → no
visibility: private → public

Released in 1.8.6

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers