Changeset 4921

Show
Ignore:
Timestamp:
10/29/09 06:47:51 (4 weeks ago)
Author:
takayama
Message:

* Changed to use created_on instead of authored_on for 'Your last entry'. bugid:102928

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/lib/MT/CMS/Dashboard.pm

    r4768 r4921  
    210210        }, 
    211211        { 
    212             sort      => 'authored_on', 
     212            sort      => 'created_on', 
    213213            direction => 'descend', 
    214214            limit     => 1, 
     
    219219        $param->{last_post_blog_id} = $last_post->blog_id; 
    220220        $param->{last_post_blog_name} = encode_html($last_post->blog->name); 
    221         $param->{last_post_ts}      = $last_post->authored_on; 
     221        $param->{last_post_ts}      = $last_post->created_on; 
    222222        my $perms = MT::Permission->load(  
    223223            { blog_id => $last_post->blog_id, author_id => $app->user->id } );