order in todo list
This commit is contained in:
parent
bb04e6837e
commit
09cbd33b29
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ class Todo_List
|
|||
*/
|
||||
public function load_all()
|
||||
{
|
||||
$sql="select tl_id, tl_title,tl_desc,to_char( tl_date,'DD.MM.YYYY') as tl_date
|
||||
$sql="select tl_id, tl_title,tl_desc,to_char( tl_date,'DD.MM.YYYY') as str_tl_date
|
||||
from todo_list where use_login=$1".
|
||||
" order by tl_date::date asc";
|
||||
$res=$this->cn->exec_sql(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue