ucd-library / aggie-experts

Publicly reported feedback and issues for Aggie Experts
https://ucd-library.github.io/aggie-experts/
MIT License
1 stars 2 forks source link

Position (and Department) use PrefLabvel over label if exists. #583

Open qjhart opened 2 weeks ago

qjhart commented 2 weeks ago

The updated database fcrepo-sandbox and fcrepo-dev have new data where some positions have a prefLabel soon organizations will have these as well. The should be used in place of the name if it exists.

Example (from sandbox data) . See difference between: image

and the profile page: image

And see the new JSON for this contact

 "hasTitle": {
                        "@id": "ark:/87287/d7c08j/position/001300",
                        "@type": [
                            "Title",
                            "ucdlib:AcademicMember",
                            "ucdlib:SenateMemeber"
                        ],
                        "prefLabel": "Assistant Professor",
                        "name": "ASST PROF-AY"
                    }
qjhart commented 2 weeks ago

We expect to have something similar like:

  "hasOrganizationalUnit": {
                        "@id": "ark:/87287/d7c08j/dept/011038",
                        "@type": "vcard:Organization",
"prefLabel":"Molecular & Cellular Biology (MCB)",
                        "name": "MOLECULAR & CELLULAR BIO"
                    },