Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] FIX: [search-region] FORM ARGs



Hi everyone,

A few weeks ago Mike sent on the mailing list a one-line-patch to add
[search-region] FORM arguments support...

It works very nice for the previous and next anchors except that this line
has to be somewhere else too for
the "pages" to work.

Be sure to add the line marked by a "+" at:

sub more_link {
        my($inc, $pa) = @_;
        my ($next, $last, $arg);
        my $list = '';
        $pa =~ s/__PAGE__/$inc/g;
        my $form_arg = "mv_more_ip=1\nmv_nextpage=$page";
        $form_arg .= "\npf=$prefix" if $prefix;
        $form_arg .= "\nmi=$prefix" if $more_id;
+        $form_arg .= "\n$opt->{form}" if $opt->{form};
        $next = ($inc-1) * $chunk;
        ...

This is in the Interpolate.pm file...(tip: search for "sub more_link" to
find the place...)

Thanks again Mike...

Jean-Pierre Parent



_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: