Temporary fix to get ingested item types right until #66 is implemented

This commit is contained in:
Simon Kornblith 2006-06-24 21:44:36 +00:00
parent 40fabb888c
commit f897564f0e

View file

@ -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) {