<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Reverse order of dropdown list from input box]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7206</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7206&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Reverse order of dropdown list from input box.]]></description>
		<lastBuildDate>Tue, 13 Feb 2018 14:04:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30802#p30802</link>
			<description><![CDATA[<p>A non alphabetical first char being omitted before sorting....<br />Thanks - hope this helps someone.</p><p>There was no difference in FA 2.3.26 - wonder what made this necessary now.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 13 Feb 2018 14:04:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30802#p30802</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30801#p30801</link>
			<description><![CDATA[<p>Hi apmuthu, I changed it to this<br />array(&#039;c.description&#039;,&#039;IF(stock_id RLIKE \&#039;^[a-z]\&#039;, 1, 2), stock_id&#039;)</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Tue, 13 Feb 2018 04:16:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30801#p30801</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30734#p30734</link>
			<description><![CDATA[<p>The ORDER BY is implemented in the array_merge() array&#039;s element of the first argument and remains the same in both FA 2.3.x and 2.4.x as:<br /></p><div class="codebox"><pre><code>&#039;order&#039; =&gt; array(&#039;c.description&#039;,&#039;stock_id&#039;)</code></pre></div><p>What did you change it to, in order to make it the way you wanted?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 06 Feb 2018 08:51:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30734#p30734</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30733#p30733</link>
			<description><![CDATA[<p>Ok. nevermind. I didnt look hard enough. It was just a few lines down the same file. Got it working.</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Tue, 06 Feb 2018 06:12:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30733#p30733</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30732#p30732</link>
			<description><![CDATA[<p>As mentioned, the new version of FA sorts items in a different order. I realized it may have something to do with the new version of mysql or php. <br />The sql concerned is <br /></p><div class="codebox"><pre><code>SELECT stock_id, s.description, c.description, s.inactive, s.editable
            FROM 0_stock_master as s,0_stock_category as c 
            WHERE s.category_id=c.category_id   ORDER BY c.description,stock_id;</code></pre></div><p>which is found in <strong>include/ui/ui_lists.inc</strong>: <em>function stock_items_list()</em></p><p>I tested adding <strong>REGEXP &#039;^[a-z]&#039; DESC</strong>, an answer I found in stackechange, and it works. But I cant figure out where the ORDER BY is located. It is not in the ui_list.php. Can someone point it out for me?</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Tue, 06 Feb 2018 04:41:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30732#p30732</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30202#p30202</link>
			<description><![CDATA[<p>Hi Apmuthu,</p><p>What I mean is the order of the list shown in the dropdown select box. I have search item ticked in the company page. <br />I tried to print screen the dropdown but it disappears. Is it even possible? </p><p>Here is an example:<br />If I type Gold bar, the results in the dropdown are as follows<br />Gold bar - Gold Bar 24k<br />123456789 - Gold Bar 24k<br />`Gold bar - Gold Bar 24k inner packaging<br />It is sorted as letters, numbers, then symbols. But in 2.4 symbols come first, then the rest.<br />I want to change it to the old one. What do I need to modify?</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Sat, 23 Dec 2017 00:23:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30202#p30202</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30162#p30162</link>
			<description><![CDATA[<p>In the text box before the dropdown select box for Items, only the item code can be typed. The dropdown will show the item name only and will be prefixed with the item code only if the &quot;Show Item Codes&quot; checkbox is ticked in the Preferences menu. Where do you get/see &quot;symbols&quot;?</p><p>If however, in Setup =&gt; Company Setup, the Search Items checkbox is ticked, then the textbox besfore the Items dropdown can be searched by Item Name when by Ajax, the dropdown will get filtered.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 22 Dec 2017 14:50:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30162#p30162</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30152#p30152</link>
			<description><![CDATA[<p>Hi Apmuthu, <br />When you type in the text box the item code in sales, purchasing, or item page, it shows a combo box with the item code and the description sorted by category then item code. I want to change the order back to the previous one where symbols come last.</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Fri, 22 Dec 2017 07:49:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30152#p30152</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30136#p30136</link>
			<description><![CDATA[<p>Which dropdown are you referring to and where?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 21 Dec 2017 15:08:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30136#p30136</guid>
		</item>
		<item>
			<title><![CDATA[Reverse order of dropdown list from input box]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30131#p30131</link>
			<description><![CDATA[<p>Hi, I needed to use 2.4 due to dependency issues. But I like the way the search function in 2.3 works and I want to overwrite it on v2.4. <br />In 2.3, symbols appear after the alphabets, after the numbers. But the order in v2.4 is symbols, numbers, letters. Can I easily modify this?</p>]]></description>
			<author><![CDATA[null@example.com (timelyfiasco)]]></author>
			<pubDate>Thu, 21 Dec 2017 08:48:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30131#p30131</guid>
		</item>
	</channel>
</rss>
