Open charvolant opened 2 years ago
This fix is included with the new names index that is in development.
There is a change in expectations. The common name that the BIE and namematching return will not be the same, just less random.
I think there needs to be a change to the species page as well as it is using a different method to source the common name and can display multiple common names.
commonNameSingle, at least, should appear on the species page to be more consistent. https://bie-test.ala.org.au/search?q=https://id.biodiversity.org.au/taxon/apni/51437865
This is up on test. Now using commonNameSingle consistently on the search result and show page. This issue is now waiting on bie-index vernacular name sync with namematching-ws.
See the linked issue for testing details.
Tested as per linked issue, passed. As expected, is also functioning well in UI - ie, names match between search results and species page
Princess Parrot https://bie-test.ala.org.au/search?sortField=&dir=desc&q=Polytelis+alexandrae https://bie-test.ala.org.au/species/https://biodiversity.org.au/afd/taxa/be7a08f5-387f-4156-91e2-77f0d3d09d8c
English Daisy https://bie-test.ala.org.au/search?sortField=score&dir=desc&q=Bellis+perennis https://bie-test.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2888214
For example https://bie.ala.org.au/search?sortField=score&dir=desc&q=Bellis+perennis gives 'English Daisy' but https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2888214#overview gives 'Daisy'.