diff --git a/controllers/ManageTags.php b/controllers/ManageTags.php index b191a239..c62f83e2 100644 --- a/controllers/ManageTags.php +++ b/controllers/ManageTags.php @@ -40,6 +40,11 @@ class ManageTags extends HTMLController 'data' => 'slug', ], ], + 'kind' => [ + 'header' => 'Kind', + 'is_sortable' => true, + 'value' => 'kind', + ], 'count' => [ 'header' => 'Cardinality', 'is_sortable' => true, @@ -54,7 +59,7 @@ class ManageTags extends HTMLController 'items_per_page' => 25, 'base_url' => BASEURL . '/managetags/', 'get_data' => function($offset = 0, $limit = 15, $order = '', $direction = 'up') { - if (!in_array($order, ['id_post', 'tag', 'slug', 'count'])) + if (!in_array($order, ['id_post', 'tag', 'slug', 'kind', 'count'])) $order = 'tag'; if (!in_array($direction, ['up', 'down'])) $direction = 'up';