[guest - Wed Sep 21 20:27:48 2005]:
Show quoted text> [guest - Wed Sep 21 19:38:32 2005]:
>
> > Hmm. After upgrading from .303 to .41, sort links are not being
> > generated when doing a 'do_search'. It generates the headers,
> but
> > no links. This happens even if you do not submit a form but just
> > hit the do_search url directly. I don't really see offhand how
> > this happens, since in that case it just passes off to list()
> > anyway.. are you seeing the same thing?
>
>
> Fix:
> near the end of tabulate(), change
> my @headers = $self->action eq 'list' ? $self->_make_linked_header(map
> {$names{$_}} @fields;
> to
> my $action = $self->action;
> my @headers = (grep { /$action/ } qw(list search)) ?
> $self->_make_linked_headers( map { $names{ $_ } } @fields;
>
> It used to work. Something must have changed.
er I mean..
my $action = $self->action;
my @headers = (grep { /$action/ } qw(list do_search)) ?
$self->_make_linked_headers( map { $names{ $_ } } @fields;
Would be nice to get rid of do_{action} type actions. Far as I can
tell, we don't need them.