Sha256: ab02d319038405f34bb96531e490519f16f134b10917c68f940502ba2fdd63d6

Contents?: true

Size: 399 Bytes

Versions: 114

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware"

module Renalware
  module PatientTransplantScopes
    def with_registration_statuses
      merge(Transplants::Patient.with_registration_statuses)
    end

    def self.extended(base)
      base.ransacker :transplant_registration_status do
        Arel.sql("transplant_registration_status_descriptions.name")
      end
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.0.84 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.83 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.82 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.81 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.80 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.79 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.78 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.77 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.76 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.75 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.74 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.73 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.72 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.71 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.70 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.69 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.68 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.67 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.64 app/models/concerns/renalware/patient_transplant_scopes.rb
renalware-core-2.0.63 app/models/concerns/renalware/patient_transplant_scopes.rb