Closed (fixed)
Project:
Nodequeue
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2009 at 19:52 UTC
Updated:
10 Dec 2009 at 01:50 UTC
The nodequeue_remove hook is not invoked in all necessary places so that it is called whenever an item is deleted from a subuqueue. It is currently invoked in nodequeue_subqueue_remove() and nodequeue_subqueue_remove_node(), but the one place where it needs to be invoked is in nodequeue_save_subqueue_order(), since this is where all items for a specific subqueue are removed and then added back in when the subqueue admin form is saved. The attached patch adds an invocation of hook_nodequeue_remove in nodequeue_save_subqueue_order().
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue_add_remove_hook.patch | 796 bytes | wonder95 |
Comments
Comment #1
ezra-g commentedThanks for the patch! Marking as needs review.
Comment #2
ezra-g commentedWith the additional else if in this patch, we can change the existing last else if to simply 'else'. I re-rolled and committed. Thanks!