Skip to content

Commit

Permalink
Support displaying tag columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 29, 2013
1 parent 5501c97 commit c58ff5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion turba/lib/Turba.php
Expand Up @@ -177,7 +177,8 @@ static public function getColumns()
$source = array_splice($cols, 0, 1);
$columns[$source[0]] = array();
foreach ($cols as $col) {
if (isset($GLOBALS['cfgSources'][$source[0]]['map'][$col])) {
if ($col == '__tags' ||
isset($GLOBALS['cfgSources'][$source[0]]['map'][$col])) {
$columns[$source[0]][] = $col;
}
}
Expand Down

0 comments on commit c58ff5d

Please sign in to comment.