Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | favorite_nodes.block_.patch | 902 bytes | rares |
Comments
Comment #1
rares CreditAttribution: rares commentedHere is a patch and a better name
Comment #2
kbahey CreditAttribution: kbahey commented