6 Jun
2005
6 Jun
'05
5:29 p.m.
IIRC, the "shadow copy" feature was simplified to not have a "primary tid" anymore about a year ago.
Well, it does not seem so. The query I posted from forum_get_topics() is from latest Drupal CVS (forum module 1.256), and it only selects topics (nodes) registered in the forum table. And since the forum table has a nid primary key.. TADA, we found the "primary tid".
Here is the important part:
SELECT n.nid, f.tid ... FROM {node} n, ... {forum} f WHERE n.nid = f.nid
I agree, but the shadowed tid isn't rendered special in any way.
Sure, rendering is a different question, this is why this stuff had an easy time hiding. Goba