Hello,
This is minor, but it took me a bit of grepping to track down.
Steps to recreate:
1 - add some biblio items
2 - create a node type view that displays biblio items
3 - add Biblio Citation to the fields list (any style)
4 - display renders using "unpublished" style, regardless of publication status.
Now, it does respect publish status fine -- the only problem is that the code to render the biblio item doesn't include the status value in the node object. So in my case each biblio item rendered this way has a pink background.
To fix it, I just added status to the node object query in views/biblio_handler_citation.inc
Thus, lines 46 - 48 now look like this:
$result = db_query('SELECT n.title, n.status, b.* FROM {node} n
LEFT JOIN {biblio} b on n.vid = b.vid
WHERE n.vid IN ('. implode(',', $vids) .')');
(I added "n.status, ")
That seems to fix it!
Comments
Comment #1
rjerome CreditAttribution: rjerome commentedGood catch! I'll add that to the code. There will be a new release in a few days.
Ron.
Comment #2
rjerome CreditAttribution: rjerome commentedCommitted: http://drupal.org/cvs?commit=312938