make id visible, show annotation id, also fixes link to annotation instead of in/out
This commit is contained in:
parent
6d59519c64
commit
34cdae0ab3
1 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue