Closed (fixed)
Project:
Nodequeue
Version:
5.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Dec 2007 at 16:56 UTC
Updated:
28 Jan 2008 at 23:21 UTC
Fix TODO:
// TODO:
// Implement hook_taxonomy to delete subqueues when terms are deleted.
// And to update titles when taxonomy terms are changed.
...
// Since this is a relatively rare operation, and I'm out of time for this
// project, I'm leaving this for some enterprising developer who needs this.
Well, I need this. Here ya go. I fixed a couple of typos as well as an, uh, interesting bug in nodequeue_subqueue_update_title(). (I don't think renaming *everything* was the intention.)
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue-taxonomy-fixes.patch | 3.52 KB | bdragon |
Comments
Comment #1
merlinofchaos commentedCommitted! Thanks very much!
Comment #2
moshe weitzman commentedseems like we should add operations when terms are added as well. the smartqueue_taxonomy module needs to know this. i recall seeing some code that attempts to discover new terms after they are added but i am not seeing that working ATM
Comment #3
merlinofchaos commentedThe smartqueue_taxonomy module doesn't care if terms exist, it only cares if terms are in use; it's meant to improve efficiency. As such, it doesn't need to react to terms being added. It'll auto-create a queue when it sees a node with the proper term.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.