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 = "SELECT * FROM mds_computer <br> WHERE id > '33x39996'<br>
AND data_server_ip = '".$backup_server."' <br> ORDER BY computername<br> LIMIT 10<br> ";<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 = "SELECT * FROM mds_computer <br> WHERE id > '33x39996'<br> AND data_server_ip = '".$backup_server."' <br> ORDER BY computername DESC<br>
LIMIT 10<br> ";<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>