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
|
width: 60
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
addable: false,
|
|
||||||
id: 'id',
|
id: 'id',
|
||||||
operator: '+',
|
operator: '+',
|
||||||
|
title: Ox._('ID'),
|
||||||
|
format: function(value, data) {
|
||||||
|
return data.annotation ? data.annotation : data.item;
|
||||||
|
},
|
||||||
sort: function(value, data) {
|
sort: function(value, data) {
|
||||||
return data.sort;
|
return data.sort;
|
||||||
},
|
},
|
||||||
unique: true,
|
unique: true,
|
||||||
|
width: 60
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
addable: false,
|
addable: false,
|
||||||
|
@ -356,7 +360,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
columnsResizable: true,
|
columnsResizable: true,
|
||||||
columnsVisible: true,
|
columnsVisible: true,
|
||||||
items: Ox.clone(self.options.clips),
|
items: Ox.clone(self.options.clips),
|
||||||
keys: ['director', 'year'],
|
keys: ['director', 'year', 'annotation'],
|
||||||
pageLength: 1000,
|
pageLength: 1000,
|
||||||
scrollbarVisible: true,
|
scrollbarVisible: true,
|
||||||
selected: self.options.selected,
|
selected: self.options.selected,
|
||||||
|
|
Loading…
Reference in a new issue