updated the documents query and display
This commit is contained in:
@@ -120,19 +120,19 @@ const SearchResults = (props) => {
|
||||
{t("search:searchresults-authority-label")}:
|
||||
</span>
|
||||
{_.has(item, [
|
||||
"_customerid_value@OData.Community.Display.V1.FormattedValue",
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue",
|
||||
])
|
||||
? router.locale == "cy"
|
||||
? jsonpath.query(
|
||||
transLookup,
|
||||
'$..[?(@.value=="' +
|
||||
item[
|
||||
"_customerid_value@OData.Community.Display.V1.FormattedValue"
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
] +
|
||||
'")].value_cy'
|
||||
)
|
||||
: item[
|
||||
"_customerid_value@OData.Community.Display.V1.FormattedValue"
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
] || "N/A"
|
||||
: ""}
|
||||
</dd>
|
||||
|
||||
Reference in New Issue
Block a user