[Rt-devel] Elements/CollectionAsTable/ParseFormat

Nicholas Clark nick at ccl4.org
Fri May 25 11:49:55 EDT 2007


On Fri, May 25, 2007 at 04:09:03PM +0100, Nicholas Clark wrote:
> Is there any documentation for the formatting system used by
> Elements/CollectionAsTable/ParseFormat?
> 
> I've got some way to understanding it, but I'm stuck on something seemingly
> insane. In html/SelfService/Elements/MyRequests the format is:

> Neither specify title. Yet one gets a title for free.
> 
> How?

OK. I'm now very confused. I can't now replicate it.
Which I think means that the following patch is reasonable, just to increase
consistency

Nicholas Clark

Index: html/SelfService/Elements/MyRequests
===================================================================
RCS file: /export/cvsroot/rt-external/html/SelfService/Elements/MyRequests,v
retrieving revision 1.2
diff -p -d -u -r1.2 MyRequests
--- html/SelfService/Elements/MyRequests	24 May 2007 15:41:23 -0000	1.2
+++ html/SelfService/Elements/MyRequests	25 May 2007 15:47:30 -0000
@@ -75,7 +75,7 @@ my @Format = qq{
    '<B><A HREF="$RT::WebPath/SelfService/Display.html?id=__id__">__id__</a></B>/TITLE:#',
    '<B><A HREF="$RT::WebPath/SelfService/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
    Status,
-   '__Requestors__',
+   Requestors,
    OwnerName};
 </%INIT>
 <%ARGS>


More information about the Rt-devel mailing list