Closed pmackay closed 9 years ago
Hi @pmackay, Organization details are coming in https://github.com/codeforamerica/ohana-web-search/issues/649. This is still being styled, but the idea is when an organization search is performed, the organization details will be displayed above the locations for that organization, something like:
I'll close this issue if that answers your question, but feel free to re-open if that doesn't cover it! Thanks!
The background on why it has been this way is because up until very recently, the only attributes that an Organization could have were the name and website. The main use of the site is to find services and where to get those services. Therefore, Locations are the main entities because that's where you go to get help.
A search always returns a Location entity. When you click on a particular location, you can see the name of the Organization it belongs to, but since there were so few attributes for an Organization, it didn't make sense to create a separate page for them when you can just display their information on the same page as the Location page.
Now that the API has been updated to add more Organization attributes based on the OpenReferral spec, we can start showing more info about an Organization, whether it's via a separate page or keeping it on the Location details page, and in an informational box in search results when you do a search based on organization name (as Ans mentioned).
I'm wondering why locations is the only type of object that can be viewed in this UI. Why not be able to view /organizations for example?
Just curious, asking for clarification.
thanks!