bricoleurs/bricolage — pull request #38 by bretdawson (2011-11-11 22:23:35+00:00)
Title: Fix for bug #280 -- searches using subelement_key_name parameter now only return current versions

Hi everybody,

This bug affects searches for stories and media using the subelement_key_name parameter.

At the moment, documents that contained a subelement in a previous version, but do not contain it in the current one, are returned incorrectly in a search.

This patch just adds a check to be sure the subelement records are active.

Thanks so much,

Bret