- Timestamp:
- 01/29/09 15:09:14 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ActionTrackerPlugin/lib/Foswiki/Plugins/ActionTrackerPlugin.pm
r2226 r2227 132 132 133 133 if( Foswiki::Func::getSkin() =~ /\baction\b/ ) { 134 print STDERR "Action edit\n";135 134 return _beforeActionEdit(@_); 136 135 } else { 137 print STDERR "Noamrl edit\n";138 136 return _beforeNormalEdit(@_); 139 137 } … … 411 409 my $orient = $attrs->remove( 'orient' ); 412 410 my $sort = $attrs->remove( 'sort' ); 411 my $reverse = $attrs->remove( 'reverse' ); 413 412 if ( defined( $fmts ) || defined( $hdrs ) || defined( $orient )) { 414 413 $fmts = $defaultFormat->getFields() unless ( defined( $fmts )); … … 421 420 422 421 my $actions = Foswiki::Plugins::ActionTrackerPlugin::ActionSet::allActionsInWebs( $web, $attrs, 0 ); 423 $actions->sort( $sort );422 $actions->sort( $sort, $reverse ); 424 423 return $actions->formatAsHTML( $fmt, 'href', $options->{USENEWWINDOW}, 425 424 'atpSearch' ); … … 440 439 }; 441 440 if ($@) { 441 print STDERR "ActionTrackerPlugin: init failed $@\n"; 442 442 Foswiki::Func::writeWarning("ActionTrackerPlugin: init failed $@"); 443 443 return 0;
Note: See TracChangeset
for help on using the changeset viewer.
