Commit 3a60a4c0 authored by Committed by Zenon Mousmoulas
AllServicePoints: fix JSON export missing data
The get_all_services() view is missing the 'name' key from the exported JSON entries. This got (presumably accidentally) introduced in 7f1f9f3b. The 'name' now gets exported only if the 'inst' export threw an exception. Fix the export for 'inst' and 'name' keys to consistently try the current language, then 'en', then set the value to 'unknown'
Showing with 7 additions and 0 deletions