Changeset 2897
- Timestamp:
- 08/07/08 23:19:36 (4 months ago)
- Files:
-
- branches/mt4.12 (modified) (1 prop)
- branches/mt4.12/build/mt-dists/default.mk (modified) (1 diff)
- branches/mt4.12/lib/MT.pm.pre (modified) (1 diff)
- branches/mt4.12/lib/MT/App/Search.pm (modified) (3 diffs)
- branches/mt4.12/mt-static/js (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mt4.12
- Property svn:externals changed from
extlib/Data http://code.sixapart.com/svn/Data-ObjectDriver/trunk/lib/Data
to
extlib/Data -r458 http://code.sixapart.com/svn/Data-ObjectDriver/trunk/lib/Data
- Property svn:externals changed from
branches/mt4.12/build/mt-dists/default.mk
r1361 r2897 1 1 PRODUCT_NAME = Movable Type Core 2 2 3 PRODUCT_VERSION = 4.1 13 PRODUCT_VERSION = 4.12 4 4 SCHEMA_VERSION = 4.0036 5 API_VERSION = 4.1 15 API_VERSION = 4.12 6 6 7 7 # BUILD_LANGUAGE = en_US branches/mt4.12/lib/MT.pm.pre
r1380 r2897 856 856 } 857 857 858 if ($cfg->P rocessMemoryCommand) {858 if ($cfg->PerformanceLogging && $cfg->ProcessMemoryCommand) { 859 859 $mt->log_times(); 860 860 } branches/mt4.12/lib/MT/App/Search.pm
r1283 r2897 292 292 ## blog from the database. 293 293 my($blog); 294 my $include = $app->param('IncludeBlogs'); 294 my $include = $app->param('IncludeBlogs') || ''; 295 $include =~ s/[^\d,]//g; 295 296 if ($include) { 296 297 my @blog_ids = split ',', $include; … … 303 304 $blog = MT::Blog->load($app->param('blog_id')); 304 305 } 305 $include = $blog->id; 306 } 306 $include = $blog->id if $blog; 307 } 308 return $app->error($app->translate('Invalid request.')) 309 unless $blog; 307 310 308 311 ## Initialize and set up the context object. … … 317 320 } 318 321 $ctx->stash('template_id', $app->{searchparam}{Template}); 319 $ctx->stash('maxresults', $app->{searchparam}{MaxResults}); 322 my $maxresults = $app->{searchparam}{MaxResults} || ''; 323 $maxresults =~ s/\D//g; 324 $app->{searchparam}{MaxResults} = $maxresults; 325 $ctx->stash('maxresults', $maxresults); 320 326 $ctx->var( 'page_layout', $blog->page_layout ) 321 327 if $blog && $blog->page_layout; branches/mt4.12/mt-static/js
- Property svn:externals changed from
common http://code.sixapart.com/svn/js/trunk/common
to
common -r261 http://code.sixapart.com/svn/js/trunk/common
- Property svn:externals changed from
