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