[ic] fly-list and prefix

Gert van der Spoel gert at 3edge.com
Tue Jul 17 04:25:30 EDT 2007


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of mail
> Sent: maandag 16 juli 2007 22:43
> To: interchange-users at icdevgroup.org
> Subject: [ic] fly-list and prefix
> 
> Does anybody know for sure if the prefix=foo works with the [fly-list]
> tag?  I can't seem to get it to work at all.
> 
> Thanks
> rick

Looks like it is not working. Below patch fixes it (one line change). 
Tested the patch *BUT* have not looked at possible other implications of the
patch.
Handle with care.

CU,

Gert

Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.282
diff -u -r2.282 Interpolate.pm
--- Interpolate.pm	6 Jul 2007 10:08:58 -0000	2.282
+++ Interpolate.pm	17 Jul 2007 08:20:42 -0000
@@ -4967,7 +4967,7 @@
 	list_compat($opt->{prefix}, \$page) if $page;
 # END LEGACY
 
-	return labeled_list( {}, $page, $listref);
+	return labeled_list( $opt, $page, $listref);
 }
 
 sub item_difference {



More information about the interchange-users mailing list