diff --git a/app/models/bulletin.rb b/app/models/bulletin.rb index b8b4251..97744b5 100644 --- a/app/models/bulletin.rb +++ b/app/models/bulletin.rb @@ -381,7 +381,7 @@ class Bulletin if more_url a['show_url'] = "#{more_url}/#{self.to_param}" end - a["org_is_top"] = self.is_top + a["org_is_top"] = (self.is_top ? 1 : 0) a["id"] = self.uid a["title_translations"] = self.title_translations a["subtitle_translations"] = self.subtitle_translations