cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject doc for directorygenerator wrong
Date Wed, 25 Aug 2004 14:55:27 GMT
Hi,

The sorting option for the directorygenerator has a mistake in it. It 
states that the parameter "time" should be used to sort the files by 
time. The source however reads a parameter called "lastmodified".

I assumed that The Source Is Always Right and patched the docs. The 
patch is against the cvs tree, can this be applied against the svn tree?


Regards
Jorg

Index: directory-generator.xml
===================================================================
RCS file: 
/home/cvspublic/cocoon-2.1/src/documentation/xdocs/userdocs/generators/directory-generator.xml,v
retrieving revision 1.8
diff -u -r1.8 directory-generator.xml
--- directory-generator.xml	26 May 2004 11:37:05 -0000	1.8
+++ directory-generator.xml	25 Aug 2004 14:56:06 -0000
@@ -77,7 +77,7 @@
              the file system. So this option influences the caching of 
the directory listing.</li>
          <li>sort: Sets the sort order in which the <code>file</code> 
and <code>directory</code>
              nodes are returned. Possible values are <code>name</code>, 
<code>size</code>,
-            <code>time</code> and <code>directory</code> (where 
<code>directory</code> is the same
+            <code>lastmodified</code> and <code>directory</code>
(where 
<code>directory</code> is the same
              as <code>name</code>, except that directory entries are 
listed first). The default sort
              order is <code>name</code>.</li>
          <li>reverse: Reverses the sort order, defaults to 
<code>false</code>.</li>


Mime
View raw message