From 2fc353cd145e48c09d732024b6e6823e47b9655a Mon Sep 17 00:00:00 2001 From: jekkos Date: Thu, 6 Sep 2018 01:16:05 +0200 Subject: [PATCH] Don't show GROUP attribute as column (#68) --- application/models/Attribute.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Attribute.php b/application/models/Attribute.php index 12b98fbe8..09c726e85 100644 --- a/application/models/Attribute.php +++ b/application/models/Attribute.php @@ -169,6 +169,7 @@ class Attribute extends CI_Model $this->db->from('attribute_definitions'); $this->db->where('definition_flags &', $definition_flags); $this->db->where('deleted', 0); + $this->db->where('definition_type <>', GROUP); $this->db->order_by('definition_id'); $results = $this->db->get()->result_array();