unepwcmc/SAPI — pull request #233 by agnessa (2014-02-25 10:45:03+00:00)
Title: Hide trade names in public auto complete

Trade names should not show up in the public website auto complete (e.g. Pavona minor, Ovis canadensis canadensis). Because we're making them searchable in the admin tool through the filter by reported taxon functionality, I guess it should not show up in the accepted taxon concept autocomplete in trade admin either.
I added a new visibility scope for the autocomplete, which is called trade_internal - that one should be passed for the "reported ad autocomplete query" as it does not filter by name status at all, so will allow to search by synonym, trade name or anything else. I hope this does not conflict with the work on search_by_reported_as.