This PR addresses #18, changing the JSON interface between front and back ends:
The JSON served at /events/catalogs now includes a preferred attribute for the event service selected in webinterface.cfg by event.catalogs.preferred e.g.
event.catalogs.preferred = geofon
The front end doesn't rely on the ordering of services in this JSON response. It sorts drop-down menu items by description, but putting the preferred service first.
This PR addresses #18, changing the JSON interface between front and back ends:
preferred
attribute for the event service selected inwebinterface.cfg
byevent.catalogs.preferred
e.g.description
, but putting thepreferred
service first.