From 25e3e652b909e3dcabfb01f7fa80f4bea051b260 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 27 Aug 2022 16:12:13 +0200 Subject: [PATCH] Expose the 'potential_alternative_to' info in the app catalog --- list_builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/list_builder.py b/list_builder.py index e41cdc17..93f77dd5 100755 --- a/list_builder.py +++ b/list_builder.py @@ -241,6 +241,7 @@ def build_catalog(): "good_quality": level >= 8, "bad_quality": level <= 5, "antifeatures": infos["antifeatures"], + "potential_alternative_to": infos.get("potential_alternative_to", []), } result_dict_doc = { @@ -320,6 +321,7 @@ def build_app_dict(app, infos): "featured": infos.get("featured", False), "category": infos.get("category", None), "subtags": infos.get("subtags", []), + "potential_alternative_to": infos.get("potential_alternative_to", []), "antifeatures": list( set(manifest.get("antifeatures", []) + infos.get("antifeatures", [])) ),