Using a "SELECT DISTINCT" query in Postgres requires any column used in the following "ORDER BY" function be in the "SELECT" part as well. The event module did not do this, so I added the e.start column to the appropriate queries. Seems to work correctly now.

Comments

killes@www.drop.org’s picture

Thanks, I've applied your changes, but those caused another problem with node_load which I also fixed.

Anonymous’s picture