Version 4.7.8
This commit is contained in:
1 parent
7b7404e741
commit
fd22d99e69
688 files changed
+19814
-10890
No files matched your search
@@ -33,6 +33,7 @@ class _categories extends \IPS\Node\Api\NodeController
|
||||
* GET /blog/categories
|
||||
* Get list of blog categories
|
||||
*
|
||||
* @apiparam string ids Comma-delimited list of category ids
|
||||
* @apiparam string sortBy What to sort by. Can be 'count_entries' for number of entries, 'last_edate' for last entry date or do not specify for ID
|
||||
* @apiparam string sortDir Sort direction. Can be 'asc' or 'desc' - defaults to 'asc'
|
||||
* @apiparam int page Page number
|
||||
@@ -42,7 +43,7 @@ class _categories extends \IPS\Node\Api\NodeController
|
||||
public function GETindex()
|
||||
{
|
||||
/* Where clause */
|
||||
$where = array();
|
||||
$where = $this->_globalWhere();
|
||||
|
||||
/* Sort */
|
||||
if ( isset( \IPS\Request::i()->sortBy ) and \in_array( \IPS\Request::i()->sortBy, array( 'position' ) ) )
|
||||
|
||||
Reference in new issue
Block a user