Skip to content

Commit

Permalink
fixes sort options
Browse files Browse the repository at this point in the history
  • Loading branch information
smritidoneria committed Aug 5, 2024
1 parent d70b99a commit 942c9ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
DISCHARGE_REASONS,
GENDER_TYPES,
PATIENT_CATEGORIES,
PATIENT_SORT_OPTIONS,
RESPIRATORY_SUPPORT,
TELEMEDICINE_ACTIONS,
DISCHARGED_PATIENT_SORT_OPTIONS,
} from "../../Common/constants";
import { FacilityModel, PatientCategory } from "../Facility/models";
import { Link, navigate } from "raviger";
Expand Down Expand Up @@ -894,9 +894,9 @@ export const PatientManager = () => {
onClick={() => advancedFilter.setShow(true)}
/>
<SortDropdownMenu
options={PATIENT_SORT_OPTIONS}
options={DISCHARGED_PATIENT_SORT_OPTIONS}
selected={qParams.ordering}
onSelect={updateQuery}
onSelect={(e) => updateQuery({ ordering: e.ordering })}
/>
<div className="tooltip w-full md:w-auto">
{!isExportAllowed ? (
Expand Down

0 comments on commit 942c9ae

Please sign in to comment.