From 1f4159720ba22b39d70abf2459bd2698e1441bbf Mon Sep 17 00:00:00 2001
From: Konstantinos Platis <konstantinos.platis@cern.ch>
Date: Thu, 20 Jun 2019 16:08:49 +0200
Subject: [PATCH] Enabled grouping functionality for Accordion

---
 src/Plugin/views/style/Accordion.php | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/Plugin/views/style/Accordion.php b/src/Plugin/views/style/Accordion.php
index 7be4076..d5562ab 100644
--- a/src/Plugin/views/style/Accordion.php
+++ b/src/Plugin/views/style/Accordion.php
@@ -30,8 +30,20 @@ class Accordion extends DefaultStyle {
 
 	protected $usesoptions = true;
 
+	/**
+	 * Whether the format will allow rendering fields
+	 *
+	 * @var bool
+	 */
 	protected $renderFields = true;
 
+	/**
+	 * Whether the format allows grouping
+	 *
+	 * @var bool
+	 */
+	protected $usesgrouping = true;
+
 	/**
 	 * Defines the initial options of the Horizontal Boxes.
 	 *
-- 
GitLab