<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Adding Item Category Filter to the core]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7602</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7602&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Adding Item Category Filter to the core.]]></description>
		<lastBuildDate>Tue, 03 Jul 2018 15:59:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32072#p32072</link>
			<description><![CDATA[<p>Good to know.&nbsp; The setting can be made in the $opts array (fifth argument):</p><div class="codebox"><pre><code>stock_items_list(&#039;stock_id&#039;, null, false, false, array(&#039;where&#039;=&gt;&#039;s.category_id=&#039;.$filter_cat));</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Braath Waate)]]></author>
			<pubDate>Tue, 03 Jul 2018 15:59:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32072#p32072</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32070#p32070</link>
			<description><![CDATA[<p>As stated above proposed changes in list helpers functions are not necessary, so the patch will not be integrated.&nbsp; But, yes, using get_post() is encouraged in such a context.<br />J.</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 03 Jul 2018 14:49:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32070#p32070</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32065#p32065</link>
			<description><![CDATA[<p>This is good to use when the customers has more categories and each one has more items.</p><p>But the feature has to be used in reports page mainly.&nbsp; </p><p>Rep306 - Inventory Purchasing Report&nbsp; &nbsp; has the items category, when the user select a category, we can shortlist the items in the list on the next drop down.&nbsp; So its good to use this feature. </p><p>And i have one more suggestion, if possible we can use the &quot;get_post()&quot; within the list function like this.</p><div class="codebox"><pre><code>if (get_post(&#039;category&#039;) )
        $sql .= &quot; AND s.category_id=&#039;&quot; . get_post(&#039;category&#039;) . &quot;&#039;&quot;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 03 Jul 2018 14:24:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32065#p32065</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32064#p32064</link>
			<description><![CDATA[<p>The patch contains only changes in stock_items list helpers, which are not necessary. You can have the same effect on the current FA version passing required filter in &#039;where&#039; options, e.g.:<br /></p><div class="codebox"><pre><code>stock_items_list(&#039;stock_id&#039;, null, false, array(&#039;where&#039;=&gt;&#039;s.categpry_id=&#039;.$filter_cat));</code></pre></div><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 03 Jul 2018 14:05:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32064#p32064</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32060#p32060</link>
			<description><![CDATA[<p>Yes this is Necessary. We shall add this in the Core</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Tue, 03 Jul 2018 08:11:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32060#p32060</guid>
		</item>
		<item>
			<title><![CDATA[Adding Item Category Filter to the core]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32055#p32055</link>
			<description><![CDATA[<p>@braathwaate has provided an <a href="https://github.com/braathwaate/frontac24/commit/162068e1e00ea1b7f80ed6f29fab44a7dd83c2b2">item category filter mod</a> that can be included in the core.</p><p>The attachment has the diff file and the file set for the current core version.</p><p>@joe: want to include it into the core?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 03 Jul 2018 04:12:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32055#p32055</guid>
		</item>
	</channel>
</rss>
