Closed tmcelrath closed 3 weeks ago
@tmcelrath can you provide a specific OTU where this happens? or verify what I'm seeing below is what you're seeing?
I just tested on a random OTU Melissodes (Eumelissodes) saponellus Cockerell, 1908
Filter Loans
OTU = Melissodes (Eumelissodes) saponellus Cockerell, 1908
JSON request: https://sfg.taxonworks.org/loans/filter.json?per=50&otu_id%5B%5D=197256&page=1
Returns (all?) loan records (see screenshot, 3570 rows)
IF I then ADD that same name string in Filter Loans > TaxonName field, and click Filter I get 3 records.
JSON Request: https://sfg.taxonworks.org/loans/filter.json?per=50&taxon_name_id%5B%5D=583403&otu_id%5B%5D=197256&page=1
Continuing this exploration
I see 3 records in the first scenario, only 2 in the 2nd. Not sure why of course. Though I'm hoping this helps the developers see the issue.
@tmcelrath for this case, please which of the above is returning the expected result, if any? Can you tell?
@tmcelrath I've replicated the problem. @debpaul the first scenario. This doesn't reference TaxonName.
Steps to reproduce the bug
Screenshot
No response
Expected behavior
Should only return loans with loan objects that have that OTU in Filter Loans
Additional Screenshots
No response
Environment
Production
Sandbox Used
No response
Version
0.44.3
Browser Used
Firefox