From f897564f0ef2233b7a7f940fee9547053332e37e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 24 Jun 2006 21:44:36 +0000 Subject: [PATCH] Temporary fix to get ingested item types right until #66 is implemented --- chrome/chromeFiles/content/scholar/xpcom/ingester.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/ingester.js b/chrome/chromeFiles/content/scholar/xpcom/ingester.js index 95f68cffa7..e9c579094f 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/ingester.js +++ b/chrome/chromeFiles/content/scholar/xpcom/ingester.js @@ -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) {