uodated queries to sort deep recursion

This commit is contained in:
2025-04-16 08:44:45 +01:00
parent 420501dbf1
commit d882e65071
54 changed files with 270 additions and 267 deletions
+5 -5
View File
@@ -271,7 +271,7 @@ const TopThree = (props) => {
{router.locale == "cy"
? jsonpath({
path:
'$..[?(@.value=="' +
'$..[?(@ && @.value=="' +
showTopThreeArr[key].representationType +
'")].value_cy',
json: transLookup,
@@ -285,7 +285,7 @@ const TopThree = (props) => {
{router.locale == "cy"
? jsonpath({
path:
'$..[?(@.value=="' +
'$..[?(@ && @.value=="' +
showTopThreeArr[key]
.representationCapacity +
'" ||@.value_cy=="' +
@@ -297,7 +297,7 @@ const TopThree = (props) => {
})
: jsonpath({
path:
'$..[?(@.value_cy=="' +
'$..[?(@ && @.value_cy=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value',
@@ -306,7 +306,7 @@ const TopThree = (props) => {
}).length > 0
? jsonpath({
path:
'$..[?(@.value_cy=="' +
'$..[?(@ && @.value_cy=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value',
@@ -327,7 +327,7 @@ const TopThree = (props) => {
{router.locale == "cy"
? jsonpath({
path:
'$..[?(@.value=="' +
'$..[?(@ && @.value=="' +
showTopThreeArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
] +