Add update metadata feature

* Use rating_key instead of item_id for history info
This commit is contained in:
Jonathan Wong 2015-11-15 11:19:34 -08:00
parent 09aac22909
commit 771885f27f
16 changed files with 448 additions and 367 deletions

View file

@ -50,7 +50,7 @@ sync_table_options = {
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['metadata_type'] !== '') {
$(td).html('<a href="info?item_id=' + rowData['rating_key'] + '">' + cellData + '</a>');
$(td).html('<a href="info?rating_key=' + rowData['rating_key'] + '">' + cellData + '</a>');
} else {
$(td).html(cellData);
}