layerindex-web/layerindex
Paul Eggleton c6105d69cf views: ensure we only show results once in recipe search
Usage of itertools.chain() that was introduced in
3155206e54 in order to prioritise matches
in the recipe name resulted in recipes showing up twice in the results
if they matched in both the name and the recipe name. Use a custom
chaining function that skips duplicate results in order to fix this.

Fixes [YOCTO #10177].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-19 16:55:33 +13:00
..
migrations layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
static Display recipe blacklist information 2016-05-24 14:22:58 +01:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
bulkchange.py layerindex/recipeparse.py: refactor setup_tinfoil, checkout_layer_branch, parse_layer_conf to utils.py 2016-10-18 16:42:16 +13:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py Update to Django 1.8 2016-09-20 20:37:45 +12:00
layerconfparse.py layerindex: Detect dependencies from layer.conf files 2016-10-18 16:42:16 +13:00
models.py layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
querysethelper.py Use functools.reduce instead of reduce 2016-07-04 09:51:21 +12:00
recipedesc.py Support (and require) Python 3 2016-06-12 11:33:08 +12:00
recipeparse.py recipeparse: remove unnecessary else statement 2016-10-18 16:42:16 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
update_layer.py layerindex/update_layer.py: Preserve the recipedependency files 2016-10-18 16:42:16 +13:00
update.py layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
urls_branch.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
urls.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
utils.py views: ensure we only show results once in recipe search 2016-10-19 16:55:33 +13:00
views.py views: ensure we only show results once in recipe search 2016-10-19 16:55:33 +13:00