Project

General

Profile

« Previous | Next » 

Revision 58161

[Trunk | Library]:
1. project.component: Project Landing Page redesign - html, component and parsing according to redesign.
2. landing-header.component.ts: Input parameters added for project landing redesing ("startDate", "endDate", "status").
3. htmlProjectReport.service.ts: Type check for request adjusted and "oaftype", "resulttypeid" removed from request (parameter "type" is enough).

View differences:

search.component.ts
25 25
import {SEOService} from '../../sharedComponents/SEO/SEO.service';
26 26
import {StringUtils} from '../../utils/string-utils.class';
27 27
import {SearchCustomFilter} from "../searchUtils/searchUtils.class";
28
import {Observable} from "rxjs";
28
import {Observable, Subscription} from "rxjs";
29 29

  
30 30
@Component({
31 31
  changeDetection: ChangeDetectionStrategy.Default,
......
452 452

  
453 453
  }
454 454

  
455
  private numOfSearchResults(resultType: string, fetchClass: FetchResearchResults, refineParams): Observable<any> {
455
  private numOfSearchResults(resultType: string, fetchClass: FetchResearchResults, refineParams): Subscription {
456 456
    return this._searchResearchResultsService.numOfSearchResults(resultType, this.keyword, this.properties, refineParams).subscribe(
457 457
      data => {
458 458
        fetchClass.searchUtils.totalResults = data;

Also available in: Unified diff