Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
forum.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2009 at 03:37 UTC
Updated:
3 Nov 2009 at 01:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
catchIt's my understanding that ->condition should default to IN when given an array.
Clearly that's not working. Personally I'd rather specific IN for that case anyway, but might be worth looking into.
Comment #2
mfbOK, let's see if this passes tests. I tweaked the SelectQuery::condition() method.
Comment #3
catchLooks great.
Comment #5
catchComment #6
dries commentedAre these tests useful as is? Sure, there could be exceptions, but it feels like they could also be made more robust?
Comment #7
catchThere aren't many situations in forum.module itself where you'll get two fully loaded nodes on one page, possibly none (at least not at the moment, it's all spaghetti queries in there). However Drupal.org at least promotes forum topics to the front page, so it's a valid test I think.
Comment #8
catchhttp://drupal.org/cvs?commit=276992