[Toaster] [toaster] [review-request] 6012 "Duplicate search results returned in the build page."
Barros Pena, Belen
belen.barros.pena at intel.com
Tue Mar 25 03:56:36 PDT 2014
On 25/03/2014 04:43, "Reyna, David" <david.reyna at windriver.com> wrote:
>Hi Belen,
>
>I have moved my local for the configuration vars to the core
>Œ_get_queryset¹ function.
>
>The branch is here: dreyna/duplicates_6012
This works for me. Thanks!
>
>The core defect it that duplicate records were being returned (by
>Œ_get_search_results¹) when a search term had multiple hits on the same
>row. The simple solution is to always force a Œdistinct()¹ call on the
>queryset before returning it, because duplicate
> records is never an acceptable state.
>
>I also removed the original special case in the configvar view class in
>favor of this general solution.
>
>- David
>
>
More information about the toaster
mailing list