Commit 395b834a by Adrian Lopez

Better match for culumn inside tagsColumn

parent 9fbb1214
......@@ -89,7 +89,7 @@ function (_, TableModel) {
if (column === 'sequence_number') { return; }
if (!titleCol) { titleCol = index; }
if (column === self.annotation.titleColumn) { titleCol = index; return; }
if (self.annotation.tagsColumn.includes(column)) { tagsCol.push(index); return; }
if (_.contains(tagsColumn.split(","), column)) { tagsCol.push(index); return; }
if (column === self.annotation.textColumn) { textCol = index; return; }
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment