Project

General

Profile

« Previous | Next » 

Revision 58497

[Trunk | Library]:
1. entitiesAutoComplete.component.ts: [Bug fix] Add missing encoding in autocomplete term (problem when query uses cache).
2. newSearchPage.component.ts:
a. [Bug fix] Add missing keyword encoding for simple search form (problem when query uses cache).
b. [Bug fix] In advanced search, when "all fields" (field id="q") is added more than once in form, add both values (params "+=" and not "=" in "getSearchAPIQueryForAdvancedSearhField()" method).
3. searchAll.component.ts: Decode keyword parameter from url (to show it properly in search form).
4. searchAll.component.ts:
a. [Bug fix] Add missing encoding in search term, used by datacite, crossref and orcid search services (problem when query uses cache).
b. In methods of crossref service pass properties, instead of url - url will be built in service.
5. searchCrossref.service.ts:
a. In all methods, pass properties, instead of url.
b. Use cache when available.
6. ISVocabularies.service.ts: [Bug fix]: Return "accessMode.json" vocabulary when: entity == "result" (case added in if statement).

View differences:

ISVocabularies.service.ts
36 36
    } else if (field == "type" && (entity == "software" || entity == "other")) {
37 37
      return of([]);
38 38
      
39
    } else if (field == "access" && (entity == "publication" || entity == "dataset" || entity == "software" || entity == "other")) {
39
    } else if (field == "access" && (entity == "publication" || entity == "dataset" || entity == "software" || entity == "other" || entity == "result")) {
40 40
      // file= "accessMode.json";
41 41
      // return this.getVocabularyFromFile(file);
42 42
      vocabulary = "dnet:access_modes.json";

Also available in: Unified diff