From 009a4ad5201eb25368a5f6452f73b7bd6206eaed Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 15 Aug 2006 04:59:09 +0000 Subject: [PATCH] Fix search brokenness from r453 --- chrome/chromeFiles/content/scholar/xpcom/search.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/search.js b/chrome/chromeFiles/content/scholar/xpcom/search.js index 15014fe4d1..335f3071b2 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/search.js +++ b/chrome/chromeFiles/content/scholar/xpcom/search.js @@ -308,7 +308,7 @@ Scholar.Search.prototype._buildQuery = function(){ case 'collectionID': condSQL += "collectionID "; if (tables[i][j]['operator']=='isNot'){ - sql += "NOT "; + condSQL += "NOT "; } // Add given collection id condSQL += "IN (?,"; @@ -376,7 +376,7 @@ Scholar.Search.prototype._buildQuery = function(){ break; case 'is': - sql += '=?'; + condSQL += '=?'; condSQLParams.push(tables[i][j]['value']); break; @@ -386,7 +386,7 @@ Scholar.Search.prototype._buildQuery = function(){ break; case 'greaterThan': - sql += '>?'; + condSQL += '>?'; condSQLParams.push({int:tables[i][j]['value']}); break;