Revision 58064
Added by Konstantinos Triantafyllou about 4 years ago
resultLanding.service.ts | ||
---|---|---|
96 | 96 |
this.resultLandingInfo.embargoEndDate = data[0].embargoenddate; |
97 | 97 |
} |
98 | 98 |
|
99 |
if(data[0]['bestaccessright'] && data[0]['bestaccessright'].hasOwnProperty("classid")) {
|
|
100 |
this.resultLandingInfo.accessMode = data[0]['bestaccessright'].classid;
|
|
99 |
if(data[0]['bestaccessright'] && data[0]['bestaccessright'].hasOwnProperty("classname")) {
|
|
100 |
this.resultLandingInfo.accessMode = data[0]['bestaccessright'].classname;
|
|
101 | 101 |
} |
102 |
|
|
103 | 102 |
// res['result']['metadata']['oaf:entity']['oaf:result']['title'] |
104 | 103 |
if(data[1] != null) { |
105 | 104 |
if(Array.isArray(data[1])) { |
Also available in: Unified diff
[Library | Trunk]: 1. New view for search results. 2. Add highlight component but currently is not enabled. 3. Change access mode value from classid to classname