commit f897564f0ef2233b7a7f940fee9547053332e37e parent 40fabb888cd8749811f042b3689776cd1d2fe5f4 Author: Simon Kornblith <simon@simonster.com> Date: Sat, 24 Jun 2006 21:44:36 +0000 Temporary fix to get ingested item types right until #66 is implemented Diffstat:
| M | 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 @@ -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) {