diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-04-17 00:16:58 +0200 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-04-17 00:16:58 +0200 |
commit | 630d57aa4d017cca3d12f234497e9832005c3ded (patch) | |
tree | 8322f566d9b6066613a8474a0a7c580e0e1d82df /etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js | |
parent | 6bd555cb7ff5f45b041eab0179fa758e50a5158c (diff) | |
download | etherpad-630d57aa4d017cca3d12f234497e9832005c3ded.tar.gz etherpad-630d57aa4d017cca3d12f234497e9832005c3ded.tar.bz2 etherpad-630d57aa4d017cca3d12f234497e9832005c3ded.zip |
Fixed so that parts of a URL query can be modified w/o affecting the rest of the query
Diffstat (limited to 'etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js')
-rw-r--r-- | etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js b/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js index ebd39bd..cdb9602 100644 --- a/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js +++ b/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js @@ -72,8 +72,8 @@ function onRequest() { var queryNewTagsSql = tagQuery.newTagsSql(querySql); var newTags = sqlobj.executeRaw(queryNewTagsSql.sql, queryNewTagsSql.params); - urlSql = urlSql(querySql, 10); - var matchingUrls = sqlobj.executeRaw(urlSql.sql, urlSql.params); + url = urlSql(querySql, 10); + var matchingUrls = sqlobj.executeRaw(url.sql, url.params); for (i = 0; i < matchingUrls.length; i++) { matchingUrls[i].TAGS = matchingUrls[i].TAGS.split('#'); |