Skip to content

Commit d86486a

Browse files
author
Sterling Michel
committed
update the to encoded value
1 parent 4bd1747 commit d86486a

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

src/lib_components/components/ExternalHost/ExternalHost.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ const externalHosts = {
259259
return externalProducts[productCode].searches.map((search) => ({
260260
key: search.query,
261261
node: renderExternalHostLink(
262-
`https://portal.boldsystems.org/result?query=${search.query}[%5Brecordsetcode%5D]`,
262+
`https://portal.boldsystems.org/result?query=${search.query}%5Brecordsetcode%5D`,
263263
search.title,
264264
'BOLD',
265265
productCode,

src/lib_components/components/ExternalHost/__tests__/__snapshots__/ExternalHost.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ exports[`ExternalHost BOLD getProductLinks with a valid productCode 1`] = `
204204
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
205205
data-gtm-external-host="BOLD"
206206
data-gtm-product-code="DP1.10020.001"
207-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
207+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
208208
onBlur={[Function]}
209209
onFocus={[Function]}
210210
rel="noopener noreferrer"
@@ -218,7 +218,7 @@ exports[`ExternalHost BOLD getProductLinks with a valid productCode 1`] = `
218218
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
219219
data-gtm-external-host="BOLD"
220220
data-gtm-product-code="DP1.10020.001"
221-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
221+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
222222
onBlur={[Function]}
223223
onFocus={[Function]}
224224
rel="noopener noreferrer"

src/lib_components/components/ExternalHostInfo/__tests__/__snapshots__/ExternalHostInfo.jsx.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ exports[`ExternalHostInfo renders with valid product code and no sites 2`] = `
212212
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
213213
data-gtm-external-host="BOLD"
214214
data-gtm-product-code="DP1.10020.001"
215-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
215+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
216216
onBlur={[Function]}
217217
onFocus={[Function]}
218218
rel="noopener noreferrer"
@@ -226,7 +226,7 @@ exports[`ExternalHostInfo renders with valid product code and no sites 2`] = `
226226
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
227227
data-gtm-external-host="BOLD"
228228
data-gtm-product-code="DP1.10020.001"
229-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
229+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
230230
onBlur={[Function]}
231231
onFocus={[Function]}
232232
rel="noopener noreferrer"
@@ -577,7 +577,7 @@ exports[`ExternalHostInfo renders with valid product code and sites 2`] = `
577577
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
578578
data-gtm-external-host="BOLD"
579579
data-gtm-product-code="DP1.10020.001"
580-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
580+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
581581
onBlur={[Function]}
582582
onFocus={[Function]}
583583
rel="noopener noreferrer"
@@ -591,7 +591,7 @@ exports[`ExternalHostInfo renders with valid product code and sites 2`] = `
591591
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
592592
data-gtm-external-host="BOLD"
593593
data-gtm-product-code="DP1.10020.001"
594-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
594+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
595595
onBlur={[Function]}
596596
onFocus={[Function]}
597597
rel="noopener noreferrer"
@@ -1030,7 +1030,7 @@ exports[`ExternalHostInfo renders with valid product code, sites, and expandable
10301030
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
10311031
data-gtm-external-host="BOLD"
10321032
data-gtm-product-code="DP1.10020.001"
1033-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
1033+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
10341034
onBlur={[Function]}
10351035
onFocus={[Function]}
10361036
rel="noopener noreferrer"
@@ -1044,7 +1044,7 @@ exports[`ExternalHostInfo renders with valid product code, sites, and expandable
10441044
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
10451045
data-gtm-external-host="BOLD"
10461046
data-gtm-product-code="DP1.10020.001"
1047-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
1047+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
10481048
onBlur={[Function]}
10491049
onFocus={[Function]}
10501050
rel="noopener noreferrer"

src/lib_components/components/ExternalHostProductSpecificLinks/__tests__/__snapshots__/ExternalHostProductSpecificLinks.jsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ exports[`ExternalHostProductSpecificLinks renders with valid product code and no
10991099
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
11001100
data-gtm-external-host="BOLD"
11011101
data-gtm-product-code="DP1.10020.001"
1102-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
1102+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
11031103
onBlur={[Function]}
11041104
onFocus={[Function]}
11051105
rel="noopener noreferrer"
@@ -1113,7 +1113,7 @@ exports[`ExternalHostProductSpecificLinks renders with valid product code and no
11131113
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
11141114
data-gtm-external-host="BOLD"
11151115
data-gtm-product-code="DP1.10020.001"
1116-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
1116+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
11171117
onBlur={[Function]}
11181118
onFocus={[Function]}
11191119
rel="noopener noreferrer"
@@ -3813,7 +3813,7 @@ exports[`ExternalHostProductSpecificLinks renders with valid product code and si
38133813
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
38143814
data-gtm-external-host="BOLD"
38153815
data-gtm-product-code="DP1.10020.001"
3816-
href="https://portal.boldsystems.org/result?query=BETN[%5Brecordsetcode%5D]"
3816+
href="https://portal.boldsystems.org/result?query=BETN%5Brecordsetcode%5D"
38173817
onBlur={[Function]}
38183818
onFocus={[Function]}
38193819
rel="noopener noreferrer"
@@ -3827,7 +3827,7 @@ exports[`ExternalHostProductSpecificLinks renders with valid product code and si
38273827
className="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiTypography-colorPrimary"
38283828
data-gtm-external-host="BOLD"
38293829
data-gtm-product-code="DP1.10020.001"
3830-
href="https://portal.boldsystems.org/result?query=BETP[%5Brecordsetcode%5D]"
3830+
href="https://portal.boldsystems.org/result?query=BETP%5Brecordsetcode%5D"
38313831
onBlur={[Function]}
38323832
onFocus={[Function]}
38333833
rel="noopener noreferrer"

0 commit comments

Comments
 (0)