We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 524b5a6 commit 433d202Copy full SHA for 433d202
src/main/services/cat-xml-extractor.js
@@ -199,6 +199,8 @@ export default class CatXmlExtractor {
199
}
200
getCollectionLanguages() {
201
let languages = []
202
+ if (!isArray(this.collection.languages.language))
203
+ this.collection.languages.language = [this.collection.languages.language]
204
this.collection.languages.language.forEach((language) => {
205
languages.push(language["#text"])
206
})
0 commit comments