From ee3f040440ffbc706704dc215f301fa654be9d9c Mon Sep 17 00:00:00 2001 From: Tyler Matteo Date: Wed, 11 Oct 2023 11:16:32 -0400 Subject: [PATCH] Update addon/components/labs-bbl-lookup.js to fix block lookup bug Co-authored-by: Matt Gardner --- addon/components/labs-bbl-lookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/labs-bbl-lookup.js b/addon/components/labs-bbl-lookup.js index 658db40..c98f266 100644 --- a/addon/components/labs-bbl-lookup.js +++ b/addon/components/labs-bbl-lookup.js @@ -65,7 +65,7 @@ export default Component.extend({ const SQL = `SELECT the_geom FROM dof_dtm_block_centroids WHERE block= ${parseInt( block, 10 - )} AND borocode = '${code}'`; + )} AND boro = '${code}'`; carto.SQL(SQL, 'geojson').then((response) => { if (response.features[0]) { this.set('errorMessage', '');