Open OpenOilUG opened 11 months ago
For the project data we use: https://github.com/fossilfuelregistry/portal-v2/blob/master/lib/useProjectData.tsx and https://github.com/fossilfuelregistry/portal-v2/blob/master/lib/useProjectSources.tsx For the countries we use https://github.com/fossilfuelregistry/portal-v2/blob/master/lib/useCountryData.tsx. I would recommend him to look in the lib folder.
@niklaserik to implement source prioritisation i added a boolean column to the projects table - i am hoping it is straightforward to select that field in the country queries (drop down box near the top of the page where list of projects from that country are listed). can you confirm query can be adjusted to use this filter... selecting projects only where has_authority = true ??