ochre-sdk 0.20.4 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2416,7 +2416,7 @@ function buildXQuery(params, options) {
|
|
|
2416
2416
|
for $v in $matching-props/value${isLimitedToLeafPropertyValues ? "[not(@i)]" : ""}
|
|
2417
2417
|
let $item-uuid := $v/ancestor::*[parent::items]/@uuid
|
|
2418
2418
|
return <propertyValue uuid="{$v/@uuid}" rawValue="{$v/@rawValue}" dataType="{$v/@dataType}" itemUuid="{$item-uuid}">{
|
|
2419
|
-
if ($v/content) then $v/content else $v/text()
|
|
2419
|
+
if ($v/content) then string-join($v/content[@xml:lang="eng"]/string, "") else $v/text()
|
|
2420
2420
|
}</propertyValue>`}}</ochre>`;
|
|
2421
2421
|
}
|
|
2422
2422
|
/**
|