Currently, the nodequeue_generate module generates the following positions when populating a nodequeue:

1, 3, 5, 7, 9, ...

This happens because $subqueue->count is incremented in both nodequeue_generate_form_submit() and nodequeue_subqueue_add().

Attached patch fixes this.

CommentFileSizeAuthor
nodequeue_generate_increment.patch1.08 KBwulff

Comments

ezra-g’s picture

Status: Needs review » Fixed

This is committed. Thanks!

Status: Fixed » Closed (fixed)

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