From ec74a69c6a53f6ff6e499860105a31444aadd928 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Jul 2021 12:01:50 +0100 Subject: [PATCH] DFC formatted catalogs must be converted to shares format to be searchable --- webapp_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_search.py b/webapp_search.py index f662c8954..67a81421d 100644 --- a/webapp_search.py +++ b/webapp_search.py @@ -316,7 +316,7 @@ def htmlSearchSharedItems(cssCache: {}, translate: {}, if currPage <= pageNumber and os.path.isdir(catalogsDir): for subdir, dirs, files in os.walk(catalogsDir): for f in files: - if not f.endswith('.json'): + if not f.endswith('.shares.json'): continue federatedDomain = f.split('.')[0] if federatedDomain not in sharedItemsFederatedDomains: