File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ Tag will accept the following attributes (**case-sensitive**) as well as the {%
96
96
: ** Values:** ` 0 ` (no, don't include expired articles) or ` 1 ` (yes, include expired articles) or some English date.
97
97
: ** Default:** Setting of preference 'Publish expired articles'.
98
98
99
+ ` fields="list" `
100
+ : Retrieve only these (distinct) article fields, aggregated if necessary.
101
+ : ** Default:** unset (all fields).
102
+
99
103
` form="form name" `
100
104
: Use specified form template to process each article.
101
105
: ** Default:** ` default ` .
@@ -327,7 +331,7 @@ Outputs the number of live articles belonging to the current section.
327
331
### Example 9: filter field
328
332
329
333
~~~ html
330
- <txp:article _custom time =" -1 year" fields =" authorid, posted= max" sort =" Posted DESC" >
334
+ <txp:article _custom time =" -1 year" fields =" authorid, max(posted) " sort =" Posted DESC" >
331
335
<txp:author /> (<txp:posted />)
332
336
</txp:article _custom >
333
337
~~~
You can’t perform that action at this time.
0 commit comments