Temporary fix to get ingested item types right until #66 is implemented
This commit is contained in:
parent
40fabb888c
commit
f897564f0e
1 changed files with 2 additions and 2 deletions
|
@ -780,8 +780,8 @@ Scholar.Ingester.Document.prototype._updateDatabase = function() {
|
|||
|
||||
var typeToTypeID = new Object();
|
||||
typeToTypeID[prefixDummy + 'book'] = 1;
|
||||
typeToTypeID[prefixDummy + 'journal'] = 2;
|
||||
typeToTypeID[prefixDummy + 'newspaper'] = 2;
|
||||
typeToTypeID[prefixDummy + 'journal'] = 3;
|
||||
typeToTypeID[prefixDummy + 'newspaper'] = 5;
|
||||
|
||||
try {
|
||||
for(var uri in this.model.data) {
|
||||
|
|
Loading…
Reference in a new issue