fix items->fetch_ids()

This commit is contained in:
Leo Germani 2018-06-11 14:09:10 -03:00
parent cb143cbd65
commit 125aee6c00
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class Items extends Repository {
*/
public function fetch_ids( $args = [], $collections = [] ) {
$args['metadata'] = 'ids';
$args['fields'] = 'ids';
return $this->fetch( $args, $collections )->get_posts();
}