Skip to content

Commit

Permalink
add project field filter to projects call
Browse files Browse the repository at this point in the history
  • Loading branch information
gridcell committed Jul 16, 2024
1 parent 6518757 commit 7b75fbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MermaidDash.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ class MermaidDash extends Component {
const { filterChoices } = this.state
const projectsParam = updatedParams.project_id && updatedParams.project_id.split(/,(?=\S)|:/)
const organizationsParam = updatedParams.tag_id && updatedParams.tag_id.split(/,(?=\S)|:/)
const projectApi = summary.get('/projects/?showall&status=90&limit=1000')
const projectApi = summary.get(
'/projects/?showall&status=90&limit=1000&fields=id,name,countries,tags',
)
const organizationApi = summary.get('/projecttags/?limit=1000')
const choicesApi = summary.get('/choices/')
const fishFamiliesApi = summary.get('fishfamilies/?limit=500')
Expand Down

0 comments on commit 7b75fbb

Please sign in to comment.