<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - BASE: filter doesn't work for query fields which are sum"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=96370#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - BASE: filter doesn't work for query fields which are sum"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=96370">bug 96370</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>On pc Debian x86-64 with master sources updated yesterday, I could reproduce
this.
Just for information, it works if I do this:
diff --git a/dbaccess/source/core/api/RowSet.cxx
b/dbaccess/source/core/api/RowSet.cxx
index 68da787a81dc..43fbd979235c 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2320,9 +2320,8 @@ void ORowSet::impl_initComposer_throw( OUString&
_out_rCommandToExecute )
m_xComposer->setCommand( m_aCommand,m_nCommandType );
m_aActiveCommand = m_xComposer->getQuery();
-
- m_xComposer->setFilter( m_bApplyFilter ? m_aFilter : OUString() );
- m_xComposer->setHavingClause( m_bApplyFilter ? m_aHavingClause :
OUString() );
+ // m_xComposer->setFilter( m_bApplyFilter ? m_aFilter : OUString() );
+ m_xComposer->setHavingClause( m_bApplyFilter ? m_aFilter : OUString() );
if ( m_bIgnoreResult )
{ // append a "0=1" filter
Of course, it's just for the test, not a fix.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>