Does not show more than 10 leaves.
Ki - March 16, 2009 - 19:28
| Project: | Tax Tree Nodes |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Tree shows only up to 10 nodes at the leaf level even when there are more than 10.
I see that line below, from the last function taxtreenodes_taxonomy_select_nodes() in taxtreenodes.module,
<?php
$result = db_query_range($sql, $args, 0, variable_get('feed_default_items', 10));
?>is responsible for the limit.
I think it is probably by the result of copying code from taxonomy module. I think it should have been without using range.
<?php
$result = db_query($sql, $args);
?>, which works nice for my case.
