Closed PoornimaVKrishnan closed 1 year ago
When I write this query into the box:
strength{in "anatomical source" FromStage..ToStage pt=pattern lc=location} AND strength{in "anatomical source" FromStage..ToStage pt=pattern lc=location}
It is being changed to when I click validate:
{in '' trength{in "anatomical source" FromStage..ToStage pt=pattern lc=location} AND {in '' trength{in "anatomical source" FromStage..ToStage pt=pattern lc=location}
It looks like the s
from strength
is being replaced with {in ''
upon clicking validate.
Checking with the old version of boolean search, I see that the text in the query box is not changing with an invalid query. But it is changing the strength
, From
, and To
dropdowns to empty string (''
)
Another difference I noticed when comparing the dropdowns after testing the above validation. This might be why the above isn't working properly to replace parts of the string:
strength
should have an empty string option (''
) From
should have an empty string option (''
) To
should have an empty string option (''
) The changes to fix the validation are working as we expect now. 2 issues that I found while messing around with the strength, To, and From dropdowns:
uncertain
in the Strength
dropdown puts uuncertain
into the query box. This should only be adding u
u
for Strength
then clicking validate
passes the validation and selects uncertain
properly, but the query in the search box is updated incorrectly to uuncertain
''
in Strength
dropdown properly clears the strength value in the search box but selects present
instead of ''
in the dropdown
Strength
option from the search box and clicking validate
does validation properly but the value shown in the Strength
dropdown does not match the displayed value (present
is selected instead of ''
)''
in To
and From
dropdown properly clears the to and from values in the search box but the actual selected string in the dropdown is TS16
and P110
by instead of ''
To
or From option from the search box and clicking
validatedoes validation properly, but the value shown in the
Toor
Fromdropdown does no match the displayed value (
TS16is selected instead of
''for
To.
P110is selected instead of
''for
From`.)
Resolved all comments. Please review again