Sha256: 1d849612073c9c50e516bf531fbaf4921439c0d4444d0086163ff5225bb72946
Contents?: true
Size: 371 Bytes
Versions: 21
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true module Renalware module Patients class PatientSearch def self.call(params) Renalware::Patient .includes(current_modality: [:description]) .search(params[:patient_search]).tap do |search| search.sorts = %w(family_name_case_insensitive given_name) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems