[Toaster] [toaster] [review-request] 6012 "Duplicate search results returned in the build page."

Reyna, David david.reyna at windriver.com
Mon Mar 24 21:43:03 PDT 2014


Hi Belen,

I have moved my local for the configuration vars to the core '_get_queryset' function.

The branch is here: dreyna/duplicates_6012

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140325/8a58656d/attachment.html>


More information about the toaster mailing list