diff options
author | Philip Chimento <philip@endlessm.com> | 2013-10-31 13:48:27 -0700 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2013-10-31 13:48:27 -0700 |
commit | 088dcca6dd1a3223d59c0477133ed17b031f0ba9 (patch) | |
tree | 2393c64874d99ea74e77232617d5cad2e772f7ef /wikipedia/presenters | |
parent | 694d86d1a31e23bb55904f09a7945e919c467ac8 (diff) |
Query articles with the 'source' parameter
We need to pass the 'source' parameter to NodeJS to indicate the
source database that an article comes from. This should later be
replaced by indicating this information in the database name.
[endlessm/eos-sdk#383]
Diffstat (limited to 'wikipedia/presenters')
-rw-r--r-- | wikipedia/presenters/domain_wiki_presenter.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wikipedia/presenters/domain_wiki_presenter.js b/wikipedia/presenters/domain_wiki_presenter.js index 3e59a01..ecd58a3 100644 --- a/wikipedia/presenters/domain_wiki_presenter.js +++ b/wikipedia/presenters/domain_wiki_presenter.js @@ -82,8 +82,8 @@ const DomainWikiPresenter = new Lang.Class({ // Respond to the category page's 'article-clicked' signal by loading that // article and switching to the article page - _onArticleClicked: function (articleList, title, uri) { - this._view.set_article_info(title, uri); + _onArticleClicked: function (articleList, title, source, uri) { + this._view.set_article_info(title, source, uri); this._view.show_article_page(); }, |