<table id="matrix">
<tr>
[% FOR col = classmetadata.list_columns.list;
- NEXT IF col == "id";
+ NEXT IF col == "id" OR col == classmetadata.table _ "_id";
"<th>";
SET additional = "?order=" _ col;
SET additional = additional _ "&page=" _ pager.current_page