Commit 44ee8e35ce7fe82704e5da73f32c141dc4febe0f
1 parent
bfb5450d
Exists in
profile_search
showing search input
Showing
3 changed files
with
4 additions
and
2 deletions
Show diff stats
src/app/components/navbar/navbar.html
1 | +<noosfero-profile-contents-search-block></noosfero-profile-contents-search-block> | ||
2 | + | ||
1 | <nav class="navbar navbar-static-top navbar-inverse"> | 3 | <nav class="navbar navbar-static-top navbar-inverse"> |
2 | <div class="container-fluid"> | 4 | <div class="container-fluid"> |
3 | <div class="navbar-header"> | 5 | <div class="navbar-header"> |
src/app/components/noosfero-blocks/profile-contents-search/profile-contents-search.component.ts
@@ -26,7 +26,7 @@ export class ProfileContentsSearch { | @@ -26,7 +26,7 @@ export class ProfileContentsSearch { | ||
26 | 26 | ||
27 | search() { | 27 | search() { |
28 | console.log(this.profile.id); | 28 | console.log(this.profile.id); |
29 | - var profileId = 53; //FIXME | 29 | + var profileId = this.profile.id; //FIXME |
30 | var params = this.defaultParams; | 30 | var params = this.defaultParams; |
31 | this.articleService.getByProfile(profileId, params).then((response: any) => { | 31 | this.articleService.getByProfile(profileId, params).then((response: any) => { |
32 | this.members = response.data.people; | 32 | this.members = response.data.people; |
src/app/main/main.component.ts