Re: [Maypole] Paged search results: first steps

From: Sebastian Riedel (sri at oook.de)
Date: Sat Sep 04 2004 - 01:24:55 BST


Veljko Vidovic schrieb:

>Hi, all
>
>Was there any progress on getting pager working properly
>with search?
>Problem was that links created are generated for full result
>set and not searched results.
>
>
Well, it's not that simple, main problem is that Maypole handles POST
and GET data different. ($r->query, $r->{params})
So you can't just modify the template, unless you want forms instead of
links...

These two patches should make it work:

This one is for Maypole::Model::CDBI. (again something I think Simon
won't accept)
http://files.oook.de/patches/Maypole-Model-CDBI.patch

This one is for the pager template, it's a bit messy but works fine.
http://files.oook.de/patches/pager.patch

P.S.: Hope Simon will spend some more time for Maypole or finds a good
Maintainer to do it, there are so many patches flying around but nothing
happens. :(

>Regards,
>Veljko
>
>
>_______________________________________________
>maypole mailing list
>maypole at lists.netthink.co.uk
>http://lists.netthink.co.uk/listinfo/maypole
>
>
>
Cheers,
Sebastian

_______________________________________________
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