Show
Ignore:
Timestamp:
02/29/08 08:17:29 (21 months ago)
Author:
fumiakiy
Message:

Added more extensibility to the new MT::App::Search. BugId:68481

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-30/lib/MT/Core.pm

    r1422 r1431  
    526526                methods => sub { MT->app->core_methods() }, 
    527527                params  => sub { MT->app->core_query_params() }, 
     528                #author => { 
     529                #    columns => [ qw( name nickname email url ) ], 
     530                #    'sort' => 'created_on', 
     531                #    terms   => { status => 1 }, #MT::Author::ACTIVE() 
     532                #}, 
     533                entry => { 
     534                    columns => [ qw( title keywords text text_more ) ], 
     535                    'sort' => 'authored_on', 
     536                    terms   => { status => 2 }, #MT::Entry::RELEASE() 
     537                }, 
    528538            }, 
    529539            'cms'      => {