Merge lp:~alecu/unity-scope-click/framework-in-search into lp:unity-scope-click

Proposed by Alejandro J. Cura
Status: Merged
Approved by: Alejandro J. Cura
Approved revision: 66
Merged at revision: 69
Proposed branch: lp:~alecu/unity-scope-click/framework-in-search
Merge into: lp:unity-scope-click
Diff against target: 20 lines (+2/-1)
1 file modified
src/click-webservice.vala (+2/-1)
To merge this branch: bzr merge lp:~alecu/unity-scope-click/framework-in-search
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
dobey (community) Approve
Review via email: mp+188897@code.launchpad.net

Commit message

Include the framework in the search query

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
dobey (dobey) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/click-webservice.vala'
--- src/click-webservice.vala 2013-09-27 19:27:24 +0000
+++ src/click-webservice.vala 2013-10-02 18:51:30 +0000
@@ -232,6 +232,7 @@
232{232{
233 private const string SEARCH_BASE_URL = "https://search.apps.ubuntu.com/";233 private const string SEARCH_BASE_URL = "https://search.apps.ubuntu.com/";
234 private const string SEARCH_PATH = "api/v1/search?q=%s";234 private const string SEARCH_PATH = "api/v1/search?q=%s";
235 private const string SUPPORTED_FRAMEWORKS = "framework:ubuntu-sdk-13.10";
235 private const string DETAILS_PATH = "api/v1/package/%s";236 private const string DETAILS_PATH = "api/v1/package/%s";
236237
237 internal Soup.SessionAsync http_session;238 internal Soup.SessionAsync http_session;
@@ -250,7 +251,7 @@
250 }251 }
251252
252 string get_search_url() {253 string get_search_url() {
253 return get_base_url() + SEARCH_PATH;254 return get_base_url() + SEARCH_PATH + "," + SUPPORTED_FRAMEWORKS;
254 }255 }
255256
256 string get_details_url() {257 string get_details_url() {

Subscribers

People subscribed via source and target branches