Change the offset from zero to null on the item->find_all call. Changed with K2.4
This commit is contained in:
parent
60238ddfad
commit
4923164626
@ -34,7 +34,7 @@ class Json_Album_Controller extends Controller {
|
|||||||
$item = ORM::factory("item", $item_id);
|
$item = ORM::factory("item", $item_id);
|
||||||
access::required("view", $item);
|
access::required("view", $item);
|
||||||
|
|
||||||
$children = $item->children(null, 0, $where);
|
$children = $item->children(null, null, $where);
|
||||||
$encoded = array();
|
$encoded = array();
|
||||||
foreach ($children as $id => $child){
|
foreach ($children as $id => $child){
|
||||||
$encoded[$id] = self::child_json_encode($child);
|
$encoded[$id] = self::child_json_encode($child);
|
||||||
|
Reference in New Issue
Block a user