diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py index 76c43be711..514ef07d29 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py @@ -26,7 +26,7 @@ def handle(self, *args, **options): # Keep latest changes in field(s) to be added at top # updating project_config for Groups - proj_config = node_collection.collection.update({'_type': 'Group','project_config': {'$exists': False} },{'$set': {'project_config': {} }}, upsert=False, multi=True) + proj_config = node_collection.collection.update({'_type':{'$in': [u'Author', u'Group']},'project_config': {'$exists': False} },{'$set': {'project_config': {} }}, upsert=False, multi=True) # updating visited_nodes for Counter instances counter_objs = counter_collection.collection.update({'_type': 'Counter', diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_about.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_about.html index f91301b750..7d3ad7e90f 100755 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_about.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_about.html @@ -282,13 +282,14 @@