diff --git a/src/main/resources/views/session b/src/main/resources/views/session
index 903cb3401f4027cfb59147db0b83b00765a27250..274bcbbc0369879ea4ff6f9afc6a8454605cbf6d 100644
--- a/src/main/resources/views/session
+++ b/src/main/resources/views/session
@@ -15,7 +15,7 @@
 			"map":"function(doc) { if(doc.type == 'session' && doc.courseId  && doc.sessionType != 'public_pool') emit(doc.courseId, doc); }"
 		},
 		"public_pool_by_subject":{
-			"map":"function(doc) { if(doc.sessionType == 'public_pool') emit(doc.ppSubject, {ppSubject: doc.ppSubject,name: doc.name, keyword: doc.keyword, ppLevel: doc.ppLevel}); }"
+			"map":"function(doc) { if(doc.sessionType == 'public_pool') emit([doc.ppSubject, doc.name], {ppSubject: doc.ppSubject,name: doc.name, keyword: doc.keyword, ppLevel: doc.ppLevel}); }"
 		},
 		"public_pool_by_creator":{
 			"map":"function(doc) { if(doc.type == 'session' && doc.sessionType == 'public_pool') emit([doc.creator, doc.name], {shortName: doc.shortName, keyword: doc.keyword, active: doc.active, courseType: doc.courseType, creationTime: doc.creationTime}); }"