Project

General

Profile

« Previous | Next » 

Revision 60397

[Trunk | Library]:
1. newSearchPage.component.ts:
a. For filter with type "identifier", build params by calling createKeywordQuery() method (currently useless - authorid filter will be changed to type "identifier" on following commits).
b. [Bug fix] EncodeURI the identifier.id of identifiers.
2. searchResult.component.ts: [Bug fix] Add check if result.identifiers.get("doi").
3. showIdentifiers.component.ts: [Bug fix] Add comma "," and "..." when needed.
4. showPublisher.component.ts: [Bug fix] Add class "uk-display-inline-block" for not breaking "Sherpa/ RoMEO" icon from text.
5. resultLanding.service.ts: [Bug fix] Set resultLandingInfo.title to title with classid=="main title" (requested in ticket #6342).

View differences:

searchResult.component.ts
76 76
          impact[result.doi]=result;
77 77
        });
78 78
        this.previewResults.forEach(function (result) {
79
          if(result.identifiers) {
79
          if(result.identifiers && result.identifiers.get("doi")) {
80 80
            result.identifiers.get("doi").forEach(function (doi) {
81 81
              if (impact[doi]) {
82 82
                result.DOI = doi;

Also available in: Unified diff