Skip to content

Commit

Permalink
Ditto - &orderByパラメータのデフォルト値の処理を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yama committed Dec 14, 2012
1 parent b45ed37 commit da8e2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/assets/snippets/ditto.tpl
Expand Up @@ -182,7 +182,7 @@ $filters = array("custom"=>array(),"parsed"=>array());
// $filters["parsed"][] = array("name" => array("source"=>$source,"value"=>$value,"mode"=>$mode));
// $filters["custom"][] = array("source","callback_function");

$orderBy = (isset($orderBy))? $orderBy : '';
$orderBy = (isset($orderBy))? $orderBy : null;
$orderBy = array('parsed'=>array(),'custom'=>array(),'unparsed'=>$orderBy);
// Variable: orderBy
// An array that holds all criteria to sort the result set by.
Expand Down

0 comments on commit da8e2ca

Please sign in to comment.