make id visible, show annotation id, also fixes link to annotation instead of in/out

This commit is contained in:
j 2017-03-08 13:12:57 +01:00
parent 6d59519c64
commit 34cdae0ab3

View file

@ -94,13 +94,17 @@ Ox.ClipPanel = function(options, self) {
width: 60
},
{
addable: false,
id: 'id',
operator: '+',
title: Ox._('ID'),
format: function(value, data) {
return data.annotation ? data.annotation : data.item;
},
sort: function(value, data) {
return data.sort;
},
unique: true,
width: 60
},
{
addable: false,
@ -356,7 +360,7 @@ Ox.ClipPanel = function(options, self) {
columnsResizable: true,
columnsVisible: true,
items: Ox.clone(self.options.clips),
keys: ['director', 'year'],
keys: ['director', 'year', 'annotation'],
pageLength: 1000,
scrollbarVisible: true,
selected: self.options.selected,