Show
Ignore:
Timestamp:
04/26/08 06:54:49 (19 months ago)
Author:
bchoate
Message:

Paginate rebuild operation for list action to publish archive templates. Added 'save and rebuild' button for archive templates. BugId:79515

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-36/lib/MT/CMS/Blog.pm

    r2103 r2115  
    588588    my $no_static = $q->param('no_static'); 
    589589    my $template_id = $q->param('template_id'); 
     590    my $map_id = $q->param('templatemap_id'); 
    590591 
    591592    my ($tmpl_saved); 
     
    709710                    FilterCallback => $cb, 
    710711                    $no_static ? ( NoStatic   => 1 )            : (), 
    711                     $template_id ? ( TemplateID => $template_id ) : (), 
     712                    $template_id ? ( TemplateID => $template_id, Force => 1 ) : (), 
     713                    $map_id ? ( TemplateMap => $template_id, Force => 1 ) : (), 
    712714                ) or return $app->publish_error(); 
    713715                $offset += $count; 
     
    906908    } 
    907909 
    908     my $type          = $q->param('type'); 
     910    my $type          = $q->param('type') || ''; 
    909911    my $next          = $q->param('next') || 0; 
    910912    my @order         = split /,/, $type;