Changeset 5027
- Timestamp:
- 11/12/09 05:56:06 (4 months ago)
- Location:
- branches/greyhound
- Files:
-
- 3 modified
-
lib/MT/Template/Tags/Blog.pm (modified) (1 diff)
-
lib/MT/Template/Tags/Website.pm (modified) (1 diff)
-
plugins/MultiBlog/lib/MultiBlog.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/greyhound/lib/MT/Template/Tags/Blog.pm
r4289 r5027 59 59 local $ctx->{__stash}{archive_category} = undef 60 60 if $args->{ignore_archive_context}; 61 local $ctx->{__stash}{inside_blogs} = 1; 61 62 62 63 require MT::Blog; -
branches/greyhound/lib/MT/Template/Tags/Website.pm
r4725 r5027 59 59 local $ctx->{__stash}{archive_category} = undef 60 60 if $args->{ignore_archive_context}; 61 local $ctx->{__stash}{inside_blogs} = 1; 61 62 62 63 require MT::Website; -
branches/greyhound/plugins/MultiBlog/lib/MultiBlog.pm
r4937 r5027 26 26 unless ($args->{blog_id} || $args->{blog_ids} || $args->{include_blogs} || $args->{exclude_blogs}) { 27 27 my $app = MT->instance; 28 if ($app->isa('MT::App::Search') ) {28 if ($app->isa('MT::App::Search') && !$ctx->stash('inside_blogs')) { 29 29 if (my $excl = $app->{searchparam}{ExcludeBlogs}) { 30 30 $args->{exclude_blogs} ||= join ',', @$excl;
