Sorting does not work after using ColQueryImpl.countDistinct()

Bug #616476 reported by indeietz
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());

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

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
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.