joomla/joomla-platform — pull request #754 by elinw (2012-01-16 16:11:51+00:00)
Title: Add Union method

This adds a union method to JDatabaseQuery along with unionDistinct which provides a proxy to the union method with distinct. This is based on the method that was in the JXtended libraries but updated for the current implementation of JDatabaseQuery. Tests included.