diff --git a/searchPages/searchUtils/communitySearchResults.component.html b/searchPages/searchUtils/communitySearchResults.component.html index 3e4b779d..c78567bc 100644 --- a/searchPages/searchUtils/communitySearchResults.component.html +++ b/searchPages/searchUtils/communitySearchResults.component.html @@ -11,7 +11,7 @@
- + {{(result.community.title)?result.community.title:result.community.shortTitle}} @@ -22,11 +22,11 @@
-
+
Creation Date: {{result.community.date | date:'dd-MM-yyyy'}}
-
+
Type: {{(result.community.type == 'ri')? 'Research Initiative': 'Research Community'}}
diff --git a/searchPages/searchUtils/communitySearchResults.component.ts b/searchPages/searchUtils/communitySearchResults.component.ts index fda3e690..4539572a 100644 --- a/searchPages/searchUtils/communitySearchResults.component.ts +++ b/searchPages/searchUtils/communitySearchResults.component.ts @@ -47,7 +47,7 @@ export class CommunitySearchResultsComponent { } public _formatDescription(description){ - return (((description).length >this.maxCharacters)?(description.substring(0,(this.maxCharacters - ('...').length))+"..."):description); + return (((description).length > this.maxCharacters)?(description.substring(0,(this.maxCharacters - ('...').length))+"..."):description); } public confirmModalOpen(community: CommunityInfo) {