Subqueue count displays incorrectly after adding a node on nodequeue tab
ezra-g - May 20, 2009 - 15:55
| Project: | Nodequeue |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | ezra-g |
| Status: | closed |
Jump to:
Description
After adding a node to a subqqueue on the nodequeue tab at /node/[nid]/nodequeue , the subqueue count displays as being increased by 2 until the page is refreshed. This is because we're increasing the reported subqueue count before it's passed asynchronously by nodequeue_admin_add_node. This used to work until nodequeue_subqueue was made to increase the subqueue count in #446902: Same position in queue created when adding to nodequeue with VBO. Because the subqueue is now passed by reference to nodequeue_admin_add_node, increasing the subqueue count in calling functions is no longer necessary. Here's a patch.
| Attachment | Size |
|---|---|
| nodequeue-sq-size.patch | 964 bytes |

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