my @columns = @{PROBLEM_PUBLIC_COLUMNS()};
push @columns, 'solution' if $args{solution} && $args{contest} && !$self->contest($args{contest})->is_running;
my $rs = $self->problems->search(undef, {order_by => 'me.name', columns => \@columns, prefetch => 'owner'});
my @columns = @{PROBLEM_PUBLIC_COLUMNS()};
push @columns, 'solution' if $args{solution} && $args{contest} && !$self->contest($args{contest})->is_running;
my $rs = $self->problems->search(undef, {order_by => 'me.name', columns => \@columns, prefetch => 'owner'});