Skip to content

Commit

Permalink
Only consider verifiable as observed when finding wanted species.
Browse files Browse the repository at this point in the history
  • Loading branch information
kueda committed Aug 31, 2017
1 parent 0a399d1 commit 1921de1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/controllers/v1/taxa_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ TaxaController.wanted = function( req, callback ) {
const speciesCountsReq = {
query: {
taxon_id: taxon.id,
hrank: "species"
hrank: "species",
quality_grade: ["research", "needs_id"]
}
};
const ObservationsController = require( "./observations_controller");
Expand Down
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.

0 comments on commit 1921de1

Please sign in to comment.