Project

General

Profile

« Previous | Next » 

Revision 48277

Landing pages: Charts in metrics tab have all columns (instead of lines) | Organization landing: fixed float for paging in projects tab | Identifiers: show first 10 with 'view all/less' functionality | Identifiers & authors: when 'view less' button clicked, scroll into view | Search results: show first 10 organizations of other entities & show organizations with their legalshortname (instead of legalname)

View differences:

searchProjects.service.ts
207 207

  
208 208
                            result['organizations'][countOrganizations]['id'] =
209 209
                                /*OpenaireProperties.getsearchLinkToOrganization() + */relation['to'].content;
210
                            result['organizations'][countOrganizations]['name'] = relation.legalname;
210
                            if(relation.legalshortname) {
211
                              result['organizations'][countOrganizations]['name'] = relation.legalshortname;
212
                            } else {
213
                              result['organizations'][countOrganizations]['name'] = relation.legalname;
214
                            }
211 215
                        }
212 216
                    }
213 217
                }

Also available in: Unified diff