From d2ad3eab4e0cf516a00f978ba4aadc7e5e4d9b99 Mon Sep 17 00:00:00 2001
From: tekay <tom.kaesler@mni.thm.de>
Date: Sat, 13 Feb 2016 18:12:50 +0100
Subject: [PATCH] add bool vars to toggle export for feedbackquestions and
 answerstatistics

---
 .../java/de/thm/arsnova/controller/SessionController.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/de/thm/arsnova/controller/SessionController.java b/src/main/java/de/thm/arsnova/controller/SessionController.java
index 3e1e37372..8a6bfb8d7 100644
--- a/src/main/java/de/thm/arsnova/controller/SessionController.java
+++ b/src/main/java/de/thm/arsnova/controller/SessionController.java
@@ -272,7 +272,9 @@ public class SessionController extends PaginationController {
 	@ApiOperation(value = "export sessions", nickname = "exportSession")
 	@RequestMapping(value = "/export", method = RequestMethod.GET)
 	public List<ImportExportSession> exportSession(
-			@ApiParam(value = "comma seperated list of sessionkeys", required = true) @RequestParam(value ="sessionkeys", defaultValue = "") final String sessionkeys,
+			@ApiParam(value = "comma seperated list of sessionkeys", required = true) @RequestParam(value = "sessionkeys", defaultValue = "") final String sessionkeys,
+			@ApiParam(value = "wether statistics shall be exported", required = true) @RequestParam(value = "withAnswerStatistics", defaultValue = "false") final Boolean withAnswerStatistics,
+			@ApiParam(value = "wether interposed questions shall be exported", required = true) @RequestParam(value = "withFeedbackQuestions", defaultValue = "false") final Boolean withFeedbackQuestions,
 			@ApiParam(value = "http servlet response", required = true) final HttpServletResponse response
 		) {
 		List<ImportExportSession> sessions = new ArrayList<ImportExportSession>();
-- 
GitLab