<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom Magento Grid with Ambiguous Column on Filter</title>
	<atom:link href="http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/</link>
	<description>I waste my time so that you don't have to...</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:05:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Henning</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-38765</link>
		<dc:creator>Henning</dc:creator>
		<pubDate>Thu, 02 Feb 2012 09:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-38765</guid>
		<description>Thanks, you made my day</description>
		<content:encoded><![CDATA[<p>Thanks, you made my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rao</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-37944</link>
		<dc:creator>Rao</dc:creator>
		<pubDate>Tue, 24 Jan 2012 11:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-37944</guid>
		<description>hy there. i love the title of your site. 
thanks for your great work (sharing is caring).
well done care taker.

i was seriously looking for such solution. 
this is my query:

&quot;SELECT main_table.*, m.cat_title FROM linkcategory AS main_table LEFT JOIN linkcategory AS m ON main_table.parent_cat_id = m.cat_id&quot;

what i was trying to achieve , to get the name of parent categories and make them filterable (naturally) but i after trying a lot. solved it in doing (type =&gt; &#039;optons&#039;) way. this column cat_title stays ambiguous , no matter what. 
But i found very interesting the properties that are available for preparing columns ($this-&gt;addColumn(&#039;&#039;,array(
 &#039;&#039; =&gt; &#039;&#039;
what more properties can be used here? please point me to the direction.
))
thank you.</description>
		<content:encoded><![CDATA[<p>hy there. i love the title of your site.<br />
thanks for your great work (sharing is caring).<br />
well done care taker.</p>
<p>i was seriously looking for such solution.<br />
this is my query:</p>
<p>&#8220;SELECT main_table.*, m.cat_title FROM linkcategory AS main_table LEFT JOIN linkcategory AS m ON main_table.parent_cat_id = m.cat_id&#8221;</p>
<p>what i was trying to achieve , to get the name of parent categories and make them filterable (naturally) but i after trying a lot. solved it in doing (type =&gt; &#8216;optons&#8217;) way. this column cat_title stays ambiguous , no matter what.<br />
But i found very interesting the properties that are available for preparing columns ($this-&gt;addColumn(&#8221;,array(<br />
 &#8221; =&gt; &#8221;<br />
what more properties can be used here? please point me to the direction.<br />
))<br />
thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-28833</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Fri, 28 Oct 2011 15:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-28833</guid>
		<description>thanks!!! thanks!!! and thanks!!
very useful</description>
		<content:encoded><![CDATA[<p>thanks!!! thanks!!! and thanks!!<br />
very useful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: writemcodeboy</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-22479</link>
		<dc:creator>writemcodeboy</dc:creator>
		<pubDate>Wed, 14 Sep 2011 12:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-22479</guid>
		<description>This helped me a lot.
In my case I had ambiguous column for the mass action.
My resolve was as follows :

    protected function _prepareMassaction()
    {
		$this-&gt;setMassactionIdField(&#039;main_table.entity_id&#039;);

Note : table reference (&#039;main_table&#039;).

Thanks for the direction!</description>
		<content:encoded><![CDATA[<p>This helped me a lot.<br />
In my case I had ambiguous column for the mass action.<br />
My resolve was as follows :</p>
<p>    protected function _prepareMassaction()<br />
    {<br />
		$this-&gt;setMassactionIdField(&#8216;main_table.entity_id&#8217;);</p>
<p>Note : table reference (&#8216;main_table&#8217;).</p>
<p>Thanks for the direction!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-5811</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 10 Mar 2011 10:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-5811</guid>
		<description>wowwww, it worked..
Thanks alot!!!</description>
		<content:encoded><![CDATA[<p>wowwww, it worked..<br />
Thanks alot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-5806</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Wed, 09 Mar 2011 18:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-5806</guid>
		<description>Very good article, 

&lt;a href=&#039;http://www.madhursangam.com&#039; title=&#039;jeevan sathi&#039; rel=&quot;nofollow&quot;&gt;Jeevan Sathi&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Very good article, </p>
<p><a href='http://www.madhursangam.com' title='jeevan sathi' rel="nofollow">Jeevan Sathi</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: razvantim</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-5573</link>
		<dc:creator>razvantim</dc:creator>
		<pubDate>Sat, 22 Jan 2011 12:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-5573</guid>
		<description>thanks for the quick tip</description>
		<content:encoded><![CDATA[<p>thanks for the quick tip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OSdave</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-5113</link>
		<dc:creator>OSdave</dc:creator>
		<pubDate>Sat, 10 Jul 2010 21:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-5113</guid>
		<description>thanks man, this was really helpfull. I hope you&#039;ll find time to write some more interesting magento snippets like this one.</description>
		<content:encoded><![CDATA[<p>thanks man, this was really helpfull. I hope you&#8217;ll find time to write some more interesting magento snippets like this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zzandry</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-4982</link>
		<dc:creator>zzandry</dc:creator>
		<pubDate>Wed, 31 Mar 2010 19:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-4982</guid>
		<description>Thanks guy, it&#039;s a big help for me</description>
		<content:encoded><![CDATA[<p>Thanks guy, it&#8217;s a big help for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Wright</title>
		<link>http://www.spinonesolutions.com/2010/01/custom-magento-grid-with-ambiguous-column-on-filter/comment-page-1/#comment-4344</link>
		<dc:creator>Will Wright</dc:creator>
		<pubDate>Mon, 01 Feb 2010 15:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.spinonesolutions.com/?p=486#comment-4344</guid>
		<description>My guess is that it&#039;s the left join on the sub-query that&#039;s causing this error:
LEFT OUTER JOIN (
               SELECT user_id, count(*) AS properties_count
               FROM properties
               GROUP BY user_id
       ) AS properties_count ON properties_count.user_id = users.user_id

Does the query work without this join?</description>
		<content:encoded><![CDATA[<p>My guess is that it&#8217;s the left join on the sub-query that&#8217;s causing this error:<br />
LEFT OUTER JOIN (<br />
               SELECT user_id, count(*) AS properties_count<br />
               FROM properties<br />
               GROUP BY user_id<br />
       ) AS properties_count ON properties_count.user_id = users.user_id</p>
<p>Does the query work without this join?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

