Profile limit does not work (uses block limit value)
rares - March 28, 2009 - 00:01
| Project: | Favorite Nodes |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
This is very straightforward, so I marked this RTB.
In favorite_nodes_user()
$favorites = favorite_nodes_get($uid, $type->type, variable_get(FAVORITE_NODES_BLOCK_LIMIT, 5));
needs to be
$favorites = favorite_nodes_get($uid, $type->type, variable_get(FAVORITE_NODES_PAGE_LIMIT, 5));
Otherwise, it will display favorites on the user page as it is configured in the block.

#1
Here is a patch and a better name
#2
#3
Automatically closed -- issue fixed for 2 weeks with no activity.