diff --git a/src/main/resources/views/motd b/src/main/resources/views/motd index 33bb7a06a789fe90ed2721c72c90042398cd896a..64edb389dc4095320a4277e3645fa80d48557abc 100644 --- a/src/main/resources/views/motd +++ b/src/main/resources/views/motd @@ -9,10 +9,10 @@ "map":"function(doc) { if (doc.type == 'motd' && doc.audience != 'session') { emit(1, doc);}}" }, "for_students":{ - "map":"function(doc) { if (doc.type == 'motd' && doc.audience == 'students') { emit(1, doc);}}" + "map":"function(doc) { if (doc.type == 'motd' && (doc.audience == 'students' || doc.audience == 'loggedIn')) { emit(1, doc);}}" }, "for_tutors":{ - "map":"function(doc) { if (doc.type == 'motd' && doc.audience == 'tutors') { emit(1, doc);}}" + "map":"function(doc) { if (doc.type == 'motd' && (doc.audience == 'tutors' || doc.audience == 'loggedIn')) { emit(1, doc);}}" }, "for_all":{ "map":"function(doc) { if (doc.type == 'motd' && doc.audience == 'all') { emit(1, doc);}}"