The sort order during search was broken. Here is a patch that seems
to do the right thing:
*** /home/dslack/Apache-MVC-20041007/lib/Maypole/Model/CDBI.pm Wed Oct
6 19:00:09 2004
--- CDBI.pm Fri Oct 8 13:35:19 2004
***************
*** 105,112 ****
$self = $self->do_pager($r);
$r->objects(
[
! $self->search_where( \%values ),
! ( $order ? { order => $order } : () )
]
);
$r->{template_args}{search} = 1;
--- 105,112 ----
$self = $self->do_pager($r);
$r->objects(
[
! $self->search_where( \%values ,
! ( $order ? { order_by => $order } : () ))
]
);
$r->{template_args}{search} = 1;
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT