keithmancuso / craft-menus

A simple but powerful menus plugin for Craft CMS built with a custom element type
51 stars 10 forks source link

Menu not returning all Nodes #17

Open johnmackenzie91 opened 7 years ago

johnmackenzie91 commented 7 years ago

Hey,

I am using the getNodes() function but sadly not all my nodes are being returned ( about half my menu), when I reshuffle my nodes (all with various amount of children), dependent on the length of children more appear/disappear.

Is there a max amount of nodes which can be returned?

upon checking the source I found a function in the MenusVariable.php

function getFullMenu($menuHandle, $type) {

$criteria = craft()->elements->getCriteria('Menus_Node');
$criteria->menu = $menuHandle;
return null;

}

Is this unfinished? do I need to add the type parameter to the query?

Other than that cool plug in!

Cheers,

John