From f4c2f72f4a55ddf9cadd7259b2930199f679a9ac Mon Sep 17 00:00:00 2001
From: Ned Zimmerman <ned@bight.dev>
Date: Fri, 24 Jan 2020 08:24:05 -0700
Subject: [PATCH] feat: add support for parent goals (fix #263)

---
 includes/functions/core.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/functions/core.php b/includes/functions/core.php
index 5080b82..bef176c 100644
--- a/includes/functions/core.php
+++ b/includes/functions/core.php
@@ -221,7 +221,7 @@ function goal_init() {
 		'lc_goal',
 		array( 'lc_resource' ),
 		array(
-			'hierarchical'          => false,
+			'hierarchical'          => true,
 			'labels'                => array(
 				'name'                       => __( 'Goals', 'coop-library-framework' ),
 				'singular_name'              => __( 'Goal', 'coop-library-framework' ),