zendframework/zf2 — pull request #3433 by rwrz (2013-01-14 19:45:04+00:00)
Title: Zend\Db\Sql\Select problems with Reset containing Joins

Actually the RESET on columns works only with the actual tables columns, but this RESET should reset each JOIN column too, because when you do a \Zend\Paginator\Adapter\DbSelect::COUNT on a PostgreSQL database you need to reset all columns, including columns on joins.