Download & Extend

Profile limit does not work (uses block limit value)

Project:Favorite Nodes
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Title:Select number of entries on page not working» Profile limit does not work (uses block limit value)

Here is a patch and a better name

AttachmentSize
favorite_nodes.block_.patch 902 bytes

#2

Status:reviewed & tested by the community» fixed

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.