<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx</link><description>I’ve seen several cases , when people use CQWP and surprises when it doesn’t return all items in standard mode and returns all necessary items in “edit” mode. I find this topic is not being documented enough anywhere. So, CQWP ignores following items</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1734500</link><pubDate>Fri, 23 Oct 2009 09:21:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734500</guid><dc:creator>Alessandro</dc:creator><description>&lt;p&gt;WOAH! UseCache worked for me too! &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734500" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1734499</link><pubDate>Fri, 23 Oct 2009 09:19:11 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734499</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;SP1 is definitely a reason of your issue, I reckon. SP1 is dated back to fall of 2007, but now is year 2009 - &amp;nbsp;you are on the system without 2 years old updates.&lt;/p&gt;
&lt;p&gt;My strongly recommendation is to update to SP2 and then test again. I bet the issue will be fixed.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734499" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1734498</link><pubDate>Fri, 23 Oct 2009 09:14:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734498</guid><dc:creator>Alessandro</dc:creator><description>&lt;p&gt;SP1...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734498" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1734497</link><pubDate>Fri, 23 Oct 2009 09:09:11 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734497</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;What&amp;#39;s the version of Service Pack installed on SharePoint?! Is it SP2?!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734497" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1734496</link><pubDate>Fri, 23 Oct 2009 09:05:02 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1734496</guid><dc:creator>Alessandro</dc:creator><description>&lt;p&gt;Hi, I have a similar problem: I&amp;#39;m grouping the documents by a field (month). In anonymous navigation everything works fine (only approved items are shown), but if a contributor is logged and there are unapproved items, they aren&amp;#39;t grouped together with the ones having the same month, but another grouping is created! &lt;/p&gt;
&lt;p&gt;E.g.: &lt;/p&gt;
&lt;p&gt;Doc Lib contains: &lt;/p&gt;
&lt;p&gt;Doc 1 Month March Approved&lt;/p&gt;
&lt;p&gt;Doc 2 Month March Approved&lt;/p&gt;
&lt;p&gt;Doc 3 Month March Published&lt;/p&gt;
&lt;p&gt;Doc 4 Month April Approved&lt;/p&gt;
&lt;p&gt;Doc 5 Month April Approved&lt;/p&gt;
&lt;p&gt;Doc 6 Month April Published &lt;/p&gt;
&lt;p&gt;CQWP will show (with grouping field Month):&lt;/p&gt;
&lt;p&gt;March&lt;/p&gt;
&lt;p&gt;- Doc 1&lt;/p&gt;
&lt;p&gt;- Doc 2&lt;/p&gt;
&lt;p&gt;April &lt;/p&gt;
&lt;p&gt;- Doc 4&lt;/p&gt;
&lt;p&gt;- Doc 5&lt;/p&gt;
&lt;p&gt;March&lt;/p&gt;
&lt;p&gt;- Doc 3&lt;/p&gt;
&lt;p&gt;April&lt;/p&gt;
&lt;p&gt;- Doc 6&lt;/p&gt;
&lt;p&gt;Any idea on this weird behaviour? &lt;/p&gt;
&lt;p&gt;Thanks! &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1734496" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1733730</link><pubDate>Tue, 20 Oct 2009 19:15:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1733730</guid><dc:creator>David Hamilton</dc:creator><description>&lt;p&gt;Worked perfectly and very simple. &amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1733730" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1727800</link><pubDate>Mon, 28 Sep 2009 07:29:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1727800</guid><dc:creator>Boris Gomiunik</dc:creator><description>&lt;p&gt;Thank you! UseCache property to False did the trick!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1727800" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1722057</link><pubDate>Wed, 09 Sep 2009 13:57:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1722057</guid><dc:creator>Franck</dc:creator><description>&lt;p&gt;I also got some weird behavior with CQWP on discussion boards with content approval:&lt;/p&gt;
&lt;p&gt;1. Without any filtering, I only got all the approved items.&lt;/p&gt;
&lt;p&gt;2. As Kate mentionned, using the filter &amp;quot;CreatedBy=[Me]&amp;quot; lists all my items even the pending or rejected ones!&lt;/p&gt;
&lt;p&gt;3. Using the filter &amp;quot;CreatedBy=[Me] OR CreatedBy!=[Me]&amp;quot; outputs all my items (including the pending or rejected ones) and, oddly some but not all the approved ones!&lt;/p&gt;
&lt;p&gt;MOSS version is 2007 SP2 April&amp;#39;09 CU (Enterprise ed)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1722057" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1720509</link><pubDate>Thu, 03 Sep 2009 15:22:32 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1720509</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;hmmm, interesting.&lt;/p&gt;
&lt;p&gt;Can you say the exact version of SharePoint 2007 you are using. &lt;/p&gt;
&lt;p&gt;I think it might be fixed in one of the SP or updates, but need to know you version number where you have such behavior&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1720509" width="1" height="1"&gt;</description></item><item><title>re: Why Content Query Web Part (CQWP) doesn’t return all results.</title><link>http://msmvps.com/blogs/laflour/archive/2008/12/24/why-content-query-web-part-cqwp-doesn-t-return-all-results.aspx#1720493</link><pubDate>Thu, 03 Sep 2009 14:20:31 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1720493</guid><dc:creator>kate</dc:creator><description>&lt;p&gt;bizzarrely, if you add a filter on checkoutUser Not eq to [Me] &amp;nbsp;then the checked out items will appear in display mode regardless of cache settings&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1720493" width="1" height="1"&gt;</description></item></channel></rss>