From 22219feda09101b22baa028822d41d10328a4bb6 Mon Sep 17 00:00:00 2001
From: Konstantinos Platis <konstantinos.platis@cern.ch>
Date: Thu, 13 Jun 2019 17:22:27 +0200
Subject: [PATCH] Added support for grouping fields

---
 src/Plugin/views/style/CardGrid.php | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/src/Plugin/views/style/CardGrid.php b/src/Plugin/views/style/CardGrid.php
index 9a0580a..1a67ae7 100644
--- a/src/Plugin/views/style/CardGrid.php
+++ b/src/Plugin/views/style/CardGrid.php
@@ -28,11 +28,28 @@ class CardGrid extends DefaultStyle {
 	 *
 	 * @var bool
 	 */
-	protected $usesRowClass = false;
+	protected $usesRowClass = true;
 
+	/**
+	 * Whether the format uses options
+	 *
+	 * @var bool
+	 */
 	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;
+
 
 }
\ No newline at end of file
-- 
GitLab