hi i using last version of weight module. my problem is when create content default weight is 0 but i set 10 in the setting page module.

CommentFileSizeAuthor
#3 weight_default_nodeapi-1203558-3.patch797 bytesm.stenta

Comments

davisben’s picture

Status: Active » Fixed

This issue has been fixed and committed to 6.x and 7.x.

Status: Fixed » Closed (fixed)

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

m.stenta’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Component: Miscellaneous » Code
Category: support » bug
Status: Closed (fixed) » Needs review
StatusFileSize
new797 bytes

I'm reopening this because the code in weight_nodeapi() still defaults the weight of nodes to 0.

Attached is a patch that makes the nodeapi default respect the weight_default variable, and default to 0 if it is not set.

davisben’s picture

Status: Needs review » Fixed

Committed. Thanks for the patch!

Status: Fixed » Closed (fixed)

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