From 1137e61827c04817a506172c3c610e8af6f1d5ce Mon Sep 17 00:00:00 2001 From: "rothwell.andy@gmail.com" Date: Thu, 22 Aug 2024 11:05:28 -0400 Subject: [PATCH] sorts results so that the city hall election office is above the city hall south portal mail in voting point by default --- src/data-sources/voting-sites-dev.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data-sources/voting-sites-dev.js b/src/data-sources/voting-sites-dev.js index afa0623..f3d949e 100644 --- a/src/data-sources/voting-sites-dev.js +++ b/src/data-sources/voting-sites-dev.js @@ -3,10 +3,10 @@ export default { type: 'http-get', dependent: 'none', resettable: false, - url: 'https://phl.carto.com/api/v2/sql?q=select+*+from+voting_sites_staging', + url: 'https://phl.carto.com/api/v2/sql', //?q=select+*+from+voting_sites_staging', options: { - // params: { - // q: "select * from voting_sites where temporary_closure = 'FALSE'", - // }, + params: { + q: "select * from voting_sites_staging where temporary_closure = 'FALSE' order by site_type desc", + }, }, };