From 1e0063e574ee2ffb974a4b7eb2f4827409061982 Mon Sep 17 00:00:00 2001 From: jekkos Date: Thu, 16 Aug 2018 03:31:45 +0200 Subject: [PATCH] Fix attribute table refresh (#68) --- application/models/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Attribute.php b/application/models/Attribute.php index ae54443d3..cb9fcd821 100644 --- a/application/models/Attribute.php +++ b/application/models/Attribute.php @@ -55,7 +55,7 @@ class Attribute extends CI_Model */ public function get_info($definition_id) { - $this->db->select('parent_definition.definition_name AS parent_name, definition.*'); + $this->db->select('parent_definition.definition_name AS definition_group, definition.*'); $this->db->from('attribute_definitions AS definition'); $this->db->join('attribute_definitions AS parent_definition', 'parent_definition.definition_id = definition.definition_fk', 'left'); $this->db->where('definition.definition_id', $definition_id);