While building an administrative interface for our users to manage galleries and images, I noticed that if a view is created that include any node_gallery specific fields, empty galleries are excluded from the view. In doing some quick troubleshooting I realized that the addition of these fields add an INNER JOIN to the node_galleries table, which doesn't actually have any entries in it until an image is associated with a gallery.

Should this be an OUTER JOIN to allow the inclusion of empty galleries?

Comments

dddave’s picture

Status: Active » Closed (duplicate)