[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/nepomuk/query
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-09-09 12:48:43
Message-ID: 20100909124843.A1DBCAC884 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1173466 by trueg:

Do not add the sort variable as select var if we are using an aggregate function

 M  +1 -0      comparisonterm.cpp  


--- trunk/KDE/kdelibs/nepomuk/query/comparisonterm.cpp #1173465:1173466
@@ -372,6 +372,7 @@
         qbd->addOrderVariable( sortVar, m_sortWeight, m_sortOrder );
 
         // trueg: there seems to be a bug in Virtuoso which gives wrong search order \
if the sort variable is not in the select list. +        if( m_aggregateFunction == \
ComparisonTerm::NoAggregateFunction )  qbd->addCustomVariable( sortVar );
     }
     return v;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic