DFC formatted catalogs must be converted to shares format to be searchable

main
Bob Mottram 2021-07-27 12:01:50 +01:00
parent 4369eac475
commit ec74a69c6a
1 changed files with 1 additions and 1 deletions

View File

@ -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: