Skip to content

Commit

Permalink
bug fix: innovation editor "Introduction" page (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeFraties authored Jan 15, 2025
1 parent 3b47fe2 commit 398cc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/practices_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def introduction
@va_facilities_and_crhs = VaFacility.cached_va_facilities.get_relevant_attributes.order_by_state_and_station_name + ClinicalResourceHub.cached_clinical_resource_hubs.sort_by_visn_number
@categories = Category.prepared_categories_for_practice_editor
@cached_practice_partners = Naturalsorter::Sorter.sort_by_method(PracticePartner.cached_practice_partners, 'name', true, true)
@ordered_practice_partners = PracticePartnerPractice.where(innovable_id: @practice.id).order_by_id
@ordered_practice_partners = PracticePartnerPractice.where(innovable_id: @practice.id, innovable_type: "Practice").order_by_id
@ordered_practice_origin_facilities = PracticeOriginFacility.where(practice_id: @practice.id).order_by_id
@user_can_edit_communities = current_user.has_role?(:admin)
@origin_data = JSON.parse(File.read(Rails.root.join('lib', 'assets', 'practice_origin_lookup.json')))
Expand Down

0 comments on commit 398cc76

Please sign in to comment.