<table><tr><td style="">dkurz retitled this revision from "Read correct query column indices when fetching tags" to "Add needed columns to QueryBuilder explicitly".<br />dkurz edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-5rgdyduftjo4sey/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7492" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">tagQuery is built in buildTagQuery(), but only four columns are</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">former fullColumnNames approach relied on the number and order of</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">added there (unless we're a resource)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">columns returned by fullColumnNames to not change</span>. <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The old code somehow assumed</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Requesting the</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">five, with the third being ignored</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">required column explicitly makes this more robust</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>hotfix-wrong-hardcoded-cursor-index</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7492" rel="noreferrer">https://phabricator.kde.org/D7492</a></div></div><br /><div><strong>To: </strong>dkurz, dvratil<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>