Skosmos icon indicating copy to clipboard operation
Skosmos copied to clipboard

New and changed concepts sidebar should show multiple replacing uris

Open joelit opened this issue 3 years ago • 0 comments

At which URL did you encounter the problem?

Go to https://api.finto.fi/rest/v1/yso/new?lang=en and you will get (among others):

{ "uri":"http:\/\/www.yso.fi\/onto\/yso\/p9020",
  "prefLabel":"integrated teaching",
  "date":"2022-04-08T00:00:00+0300",
  "replacedBy":"http:\/\/www.yso.fi\/onto\/yso\/p39507",
  "replacingLabel":"integrated teaching (teaching groups)" },
{ "uri":"http:\/\/www.yso.fi\/onto\/yso\/p9020",
  "prefLabel":"integrated teaching",
  "date":"2022-04-08T00:00:00+0300",
  "replacedBy":"http:\/\/www.yso.fi\/onto\/yso\/p39511",
  "replacingLabel":"integrated teaching (curriculum subjects)" }

What is the expected output? What do you see instead?

Both of these two replacing concepts are not listed in the 'New and Deprecated' sidebar, though: https://finto.fi/yso/fi/new Screenshot from 2022-06-14 10-45-05 Instead, we could have the replacing concepts indented under the deprecated concepts, for example.

What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)

Chromium

joelit avatar Jun 14 '22 07:06 joelit