--- json_server.module.orig 2010-10-12 16:50:28.000000000 +1030 +++ json_server.module 2010-10-13 11:35:38.000000000 +1030 @@ -56,6 +56,15 @@ $args[$arg['name']] = NULL; } } + + // Unset order if it's not specified as it causes the SQL to fail as it overwrites + // the default $order set in function taxonomy_service_select_nodes() in file + // services/services/taxonomy_service/taxonomy_service.inc + // + if (empty($args['order'])) { + unset($args['order']); + } + $result = services_method_call($method['method'], $args); if (is_array($result) && $result['error'] === TRUE) return drupal_to_js(array('#error' => TRUE, '#data' => $result['message']));