Hi Vtiger developers !<br><br>Is it me or ORDER BY DESC does not work in Vtiger WebServices ?<br><br>The following query works perfectly :<br><br>    $query = &quot;SELECT * FROM mds_computer <br>            WHERE id &gt; &#39;33x39996&#39;<br>

            AND data_server_ip = &#39;&quot;.$backup_server.&quot;&#39;            <br>            ORDER BY computername<br>            LIMIT 10<br>            &quot;;<br><br>This one also works but the problem is that the DESC is not taken in account. So the query retrieves data in the same order :<br>

<br>    $query = &quot;SELECT * FROM mds_computer <br>            WHERE id &gt; &#39;33x39996&#39;<br>            AND data_server_ip = &#39;&quot;.$backup_server.&quot;&#39;            <br>            ORDER BY computername DESC<br>

            LIMIT 10<br>            &quot;;<br><br>In the file include/WebservicesVTQL_Lexer.php.php line 133 I can see that DESC is supported.<br><br>But in include/Webservices/VTQL_Parser.php line 307 (and also line 150) DESC is not used.<br>

<br>Did anyone sucessfully make ORDER BY DESC work ?<br><br><br clear="all">David V.<br>