Unverified Commit a02e2ea0 authored by alexpott's avatar alexpott

Issue #2969598 by msankhala, joachim: badly formatted sample code in docs for Select::orderBy()

parent bae2ff87
......@@ -404,10 +404,10 @@ public function addJoin($type, $table, $alias = NULL, $condition = NULL, $argume
* on.
*
* Example:
* <code>
* @code
* $query->addExpression('SUBSTRING(thread, 1, (LENGTH(thread) - 1))', 'order_field');
* $query->orderBy('order_field', 'ASC');
* </code>
* @endcode
* @param $direction
* The direction to sort. Legal values are "ASC" and "DESC". Any other value
* will be converted to "ASC".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment