diff --git a/controllers/ManageTags.php b/controllers/ManageTags.php index 476e9003..b600f2d3 100644 --- a/controllers/ManageTags.php +++ b/controllers/ManageTags.php @@ -27,7 +27,7 @@ class ManageTags extends HTMLController ], ], 'columns' => [ - 'id_post' => [ + 'id_tag' => [ 'value' => 'id_tag', 'header' => 'ID', 'is_sortable' => true, @@ -68,7 +68,7 @@ class ManageTags extends HTMLController 'index_class' => 'floatleft', 'base_url' => BASEURL . '/managetags/', 'get_data' => function($offset = 0, $limit = 30, $order = '', $direction = 'up') { - if (!in_array($order, ['id_post', 'tag', 'slug', 'kind', 'count'])) + if (!in_array($order, ['id_tag', 'tag', 'slug', 'kind', 'count'])) $order = 'tag'; if (!in_array($direction, ['up', 'down'])) $direction = 'up';