Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Smartqueue Taxonomy
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2012 at 07:06 UTC
Updated:
25 Nov 2015 at 21:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
samhassell commentedadded pre tags
Comment #1
samhassell commentedIt would be nice to get this into 2.x too, that way I can use it in prod :P
What's the diff between 3.x and 2.x?
Comment #2
samhassell commentedhere's one for 2.x.
Comment #4
samhassell commented2.x one failed against 3.x I'm guessing.
Comment #5
killua99 commentedComment #6
killua99 commented#2: smartqueue--use-parents-all-2.x.patch queued for re-testing.
Comment #7.0
(not verified) commentedswitched pre to code tags le sigh
Comment #8
thursday_bw commentedHere is a new version of the smartqueue--use-parents-all patch.
In time the previous patch has become outdated and doesn't apply cleanly.
It does now.
Also this patch fixes a bug introduced by the previous patch, where smartqueues were being created twice in the database and causing duplicates.
Comment #9
thursday_bw commentedComment #10
fizk commentedComment #11
fizk commentedHoping this starts the automated tests.
Comment #12
fizk commentedComment #17
fizk commentedShould apply to HEAD now.
Comment #18
fizk commentedComment #19
fizk commentedThe
db_query("SELECT qid, use_parents, use_parents_all FROM {smartqueue} WHERE qid IN (:qids)", array(':qids' => $qids));was causing the entire site to crash immediately, not giving the admin a chance to update the database schema via the UI.This patch changes the query to
db_query("SELECT * FROM {smartqueue} WHERE qid IN (:qids)", array(':qids' => $qids));Comment #24
fizk commentedCommitted, thanks.