From: <nk...@us...> - 2011-09-02 16:57:59
|
Revision: 36815 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=36815&view=rev Author: nkoth Date: 2011-09-02 16:57:52 +0000 (Fri, 02 Sep 2011) Log Message: ----------- [ENH] Allow setting of max number to list Modified Paths: -------------- trunk/lib/wiki-plugins/wikiplugin_list.php Modified: trunk/lib/wiki-plugins/wikiplugin_list.php =================================================================== --- trunk/lib/wiki-plugins/wikiplugin_list.php 2011-09-02 16:51:17 UTC (rev 36814) +++ trunk/lib/wiki-plugins/wikiplugin_list.php 2011-09-02 16:57:52 UTC (rev 36815) @@ -136,6 +136,11 @@ return $out; } +function wpquery_list_max($query, $value) +{ + $query->setRange(0, $value); +} + function wpquery_filter_type($query, $value) { $value = explode(',', $value); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |