mediacloud / web-search

Code that drives the public web-based tools for the Media Cloud Online News Archive and Directory.
https://search.mediacloud.org
Apache License 2.0
9 stars 15 forks source link

search shows source `name` but should show `label` #644

Closed rahulbot closed 3 months ago

rahulbot commented 5 months ago

Right now the "Pick collections and sources" area shows a list of sources represented by their name attribute. It should instead show their label. This matters for "child" sources that have the same name but use url_search_string to do sub-searches.

An example is source 1912547, which is a child of the main Brazilian globo.com domain, created to support searching just stories from the state of Amazonas. In the image below it should say "G1 Globo Amazonas" (the source label), not "globo.com" (the source name).

Media_Cloud