Browse Source

Search engine: covered areas should be comma-separated

The Whoosh KEYWORD field accepts a comma-separated list of values
Gu1 11 years ago
parent
commit
3f6f9a8824
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffdnispdb/models.py

+ 1 - 1
ffdnispdb/models.py

@@ -261,7 +261,7 @@ class ISPWhoosh(object):
             'name': model.name,
             'shortname': model.shortname,
             'description': model.json.get('description'),
-            'covered_areas': model.covered_areas_names(),
+            'covered_areas': ','.join(model.covered_areas_names()),
             'step': model.json.get('progressStatus')
         }
         writer.update_document(**kw)