Skip to content

Commit

Permalink
Fix order of JSKOS field ancestors (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 19, 2022
1 parent 2c96792 commit b4e931c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/concepts.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ module.exports = class ConceptService {
if (root) {
return ancestors
} else {
return ancestors.concat([concept])
return [concept].concat(ancestors)
}
} else if (!root) {
return [concept]
Expand Down

0 comments on commit b4e931c

Please sign in to comment.