diff --git a/app/controllers/admin/service_providers_controller.rb b/app/controllers/admin/service_providers_controller.rb index 05f9ee26e..ce9cb4bc1 100644 --- a/app/controllers/admin/service_providers_controller.rb +++ b/app/controllers/admin/service_providers_controller.rb @@ -109,7 +109,6 @@ def service_provider_params :department, :department_abbreviation, :bureau, - :bureau_abbreviation, :inactive, :new, :tag_list, diff --git a/app/controllers/admin/services_controller.rb b/app/controllers/admin/services_controller.rb index f72abf82b..d0ba2bde6 100644 --- a/app/controllers/admin/services_controller.rb +++ b/app/controllers/admin/services_controller.rb @@ -219,7 +219,6 @@ def service_params :service_owner_id, :service_provider_id, :bureau, - :bureau_abbreviation, :department, :description, :hisp, diff --git a/app/controllers/api/v1/collections_controller.rb b/app/controllers/api/v1/collections_controller.rb index d54454288..1a6988254 100644 --- a/app/controllers/api/v1/collections_controller.rb +++ b/app/controllers/api/v1/collections_controller.rb @@ -2,7 +2,7 @@ class Api::V1::CollectionsController < ::ApiController def index respond_to do |format| format.json { - render json: Collection.all, each_serializer: CollectionSerializer + render json: Collection.all.order(:id), each_serializer: CollectionSerializer } end end diff --git a/app/controllers/api/v1/omb_cx_reporting_collections_controller.rb b/app/controllers/api/v1/omb_cx_reporting_collections_controller.rb index 20d7c02b5..ebfa2089e 100644 --- a/app/controllers/api/v1/omb_cx_reporting_collections_controller.rb +++ b/app/controllers/api/v1/omb_cx_reporting_collections_controller.rb @@ -2,7 +2,7 @@ class Api::V1::OmbCxReportingCollectionsController < ::ApiController def index respond_to do |format| format.json { - render json: OmbCxReportingCollection.all, each_serializer: OmbCxReportingCollectionSerializer + render json: OmbCxReportingCollection.all.order(:id), each_serializer: OmbCxReportingCollectionSerializer } end end diff --git a/app/controllers/api/v1/organizations_controller.rb b/app/controllers/api/v1/organizations_controller.rb index 248b31398..fa81d9797 100644 --- a/app/controllers/api/v1/organizations_controller.rb +++ b/app/controllers/api/v1/organizations_controller.rb @@ -2,7 +2,7 @@ class Api::V1::OrganizationsController < ::ApiController def index respond_to do |format| format.json { - render json: Organization.all, each_serializer: OrganizationSerializer + render json: Organization.all.order(:id), each_serializer: OrganizationSerializer } end end diff --git a/app/controllers/api/v1/services_controller.rb b/app/controllers/api/v1/services_controller.rb index 60067507d..0d5e6940d 100644 --- a/app/controllers/api/v1/services_controller.rb +++ b/app/controllers/api/v1/services_controller.rb @@ -2,7 +2,7 @@ class Api::V1::ServicesController < ::ApiController def index respond_to do |format| format.json { - render json: Service.all, each_serializer: ServiceSerializer + render json: Service.all.order(:id), each_serializer: ServiceSerializer } end end diff --git a/app/serializers/service_provider_serializer.rb b/app/serializers/service_provider_serializer.rb index 97f02bcf8..5676f4b37 100644 --- a/app/serializers/service_provider_serializer.rb +++ b/app/serializers/service_provider_serializer.rb @@ -10,7 +10,6 @@ class ServiceProviderSerializer < ActiveModel::Serializer :department, :department_abbreviation, :bureau, - :bureau_abbreviation, :inactive, :url, :new diff --git a/app/serializers/service_serializer.rb b/app/serializers/service_serializer.rb index 3be7b1a2e..39a2ed80c 100644 --- a/app/serializers/service_serializer.rb +++ b/app/serializers/service_serializer.rb @@ -13,7 +13,6 @@ class ServiceSerializer < ActiveModel::Serializer :hisp, :department, :bureau, - :bureau_abbreviation, :service_abbreviation, :service_slug, :service_owner_email, diff --git a/app/views/admin/service_providers/show.html.erb b/app/views/admin/service_providers/show.html.erb index 06d992429..9c9431ab6 100644 --- a/app/views/admin/service_providers/show.html.erb +++ b/app/views/admin/service_providers/show.html.erb @@ -85,11 +85,6 @@ <%= @service_provider.bureau %>
-- Bureau abbreviation: - <%= @service_provider.bureau_abbreviation %> -
-Slug: <%= @service_provider.slug %> diff --git a/app/views/admin/services/_form.html.erb b/app/views/admin/services/_form.html.erb index 6d1a826ed..900b9ef3b 100644 --- a/app/views/admin/services/_form.html.erb +++ b/app/views/admin/services/_form.html.erb @@ -112,11 +112,6 @@ <%= form.text_field :bureau, class: "usa-input", placeholder: "Bureau" %> -
- Bureau abbreviation
-
- <%= @service.bureau_abbreviation %>
-
Service abbreviation
diff --git a/app/views/admin/websites/_step_indicator.html.erb b/app/views/admin/websites/_step_indicator.html.erb
index ef5e99c04..be4275352 100644
--- a/app/views/admin/websites/_step_indicator.html.erb
+++ b/app/views/admin/websites/_step_indicator.html.erb
@@ -55,7 +55,7 @@
<% end %>
-
@@ -158,13 +156,13 @@
- These metrics are reported up to the GSA TTS Data Portfolio on a weekly basis. -
++ These metrics are reported up to the GSA TTS Data Portfolio on a weekly basis. +
+- Users - | -- Agencies - | -- Forms - | -- Responses - | -
---|---|---|---|
- <%= User.count %> - | -- <%= Organization.count %> - | -- <%= Form.non_templates.count %> - | -- <%= Submission.count %> - | -
+ Users + | ++ Agencies + | +
---|---|
+ <%= User.count %> + | ++ <%= Organization.count %> + | +
+ Forms + | ++ Responses + | +
---|---|
+ <%= Form.non_templates.count %> + | ++ <%= Submission.count %> + | +
- Service Providers - | -- Services - | -- Data Collections - | -- Service details - | -- Websites - | -- Digital products - | -- Social media accounts - | -
---|---|---|---|---|---|---|
- <%= ServiceProvider.count %> - | -- <%= Service.count %> - | -- <%= Collection.count %> - | -- <%= OmbCxReportingCollection.count %> - | -- <%= Website.count %> - | -- <%= DigitalProduct.count %> - | -- <%= DigitalServiceAccount.count %> - | -
+ Service Providers + | ++ Services + | ++ Data Collections + | ++ Service details + | +
---|---|---|---|
+ <%= ServiceProvider.count %> + | ++ <%= Service.count %> + | ++ <%= Collection.count %> + | ++ <%= OmbCxReportingCollection.count %> + | +
+ Websites + | ++ Digital products + | ++ Social media accounts + | +
---|---|---|
+ <%= Website.count %> + | ++ <%= DigitalProduct.count %> + | ++ <%= DigitalServiceAccount.count %> + | +