[Toaster] [toaster] [review-request] 6012 "Duplicate search results returned in the build page."
Damian, Alexandru
alexandru.damian at intel.com
Thu Mar 27 08:42:43 PDT 2014
Taken in,
Alex
On Tue, Mar 25, 2014 at 10:56 AM, Barros Pena, Belen <
belen.barros.pena at intel.com> wrote:
>
> 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
> >
> >
>
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140327/a197bb8a/attachment.html>
More information about the toaster
mailing list