Skip to content
  • Vladimir Mencl's avatar
    AllServicePoints: fix JSON export missing data · 3a60a4c0
    Vladimir Mencl authored
    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'
    3a60a4c0