Skip to content

Commit

Permalink
Merge pull request #59 from CityOfPhiladelphia/main
Browse files Browse the repository at this point in the history
uses pinboard 1.3.3 which rolls back sorting in Map.vue, and sorts in…
  • Loading branch information
ajrothwell authored Sep 24, 2024
2 parents 68b1364 + 66467f7 commit 1ace1e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@fortawesome/pro-light-svg-icons": "5.15.4",
"@fortawesome/pro-regular-svg-icons": "5.15.4",
"@fortawesome/pro-solid-svg-icons": "5.15.4",
"@phila/pinboard": "1.3.2",
"@phila/pinboard": "1.3.3",
"bulma": "^0.9.1",
"core-js": "^3.3.3",
"vue": "^2.6.10"
Expand Down
2 changes: 1 addition & 1 deletion src/data-sources/voting-sites.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
url: 'https://phl.carto.com:443/api/v2/sql',
options: {
params: {
q: "select * from voting_sites where temporary_closure = 'FALSE' and site_approved = 'TRUE'",
q: "select * from voting_sites where temporary_closure = 'FALSE' and site_approved = 'TRUE' order by site_type desc",
},
},
};
8 changes: 4 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ pinboard({
dataSources: {
votingSites,
},
dataSort: {
field:'site_type',
order: 'desc',
},
// dataSort: {
// field:'site_type',
// order: 'desc',
// },
router: {
enabled: false,
},
Expand Down

0 comments on commit 1ace1e3

Please sign in to comment.