Skip to content
Snippets Groups Projects
Commit ac700ec6 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

orga-select: remove alternateName usage

alternateName no longer exists
parent cbb77e77
No related branches found
No related tags found
No related merge requests found
Pipeline #88621 failed
...@@ -120,7 +120,7 @@ export class OrganizationSelect extends AdapterLitElement { ...@@ -120,7 +120,7 @@ export class OrganizationSelect extends AdapterLitElement {
this._clearSelect2(); this._clearSelect2();
const data = this.organizations.map((item) => { const data = this.organizations.map((item) => {
return {id: item.object['@id'], text: item.code + ' ' + item.name}; return {id: item.object['@id'], text: item.name};
}); });
data.sort((a, b) => { data.sort((a, b) => {
...@@ -264,7 +264,6 @@ export class OrganizationSelect extends AdapterLitElement { ...@@ -264,7 +264,6 @@ export class OrganizationSelect extends AdapterLitElement {
for (let org of data['hydra:member']) { for (let org of data['hydra:member']) {
let organization = { let organization = {
id: org.identifier, id: org.identifier,
code: org.alternateName,
name: org.name, name: org.name,
url: org.url, url: org.url,
value: org['@id'], value: org['@id'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment