Skip to content

Commit

Permalink
fix pagination per page limit (ohcnetwork#9963)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 authored Jan 14, 2025
1 parent e8d7a81 commit 111ebf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/Encounters/EncounterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function EncounterList({
}: EncounterListProps) {
const { qParams, updateQuery, Pagination, clearSearch, resultsPerPage } =
useFilters({
limit: 14,
limit: 15,
cacheBlacklist: ["name", "encounter_id", "external_identifier"],
});
const {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/OrganizationFacilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function OrganizationFacilities({
const { t } = useTranslation();

const { qParams, Pagination, advancedFilter, resultsPerPage, updateQuery } =
useFilters({ limit: 14, cacheBlacklist: ["facility"] });
useFilters({ limit: 15, cacheBlacklist: ["facility"] });

const { data: facilities, isLoading } = useQuery({
queryKey: ["organizationFacilities", id, qParams],
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/OrganizationPatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface Props {
export default function OrganizationPatients({ id, navOrganizationId }: Props) {
const { t } = useTranslation();
const { qParams, Pagination, advancedFilter, resultsPerPage, updateQuery } =
useFilters({ limit: 14, cacheBlacklist: ["patient"] });
useFilters({ limit: 15, cacheBlacklist: ["patient"] });
const [organization, setOrganization] = useState<Organization | null>(null);

const { data: patients, isLoading } = useQuery({
Expand Down

0 comments on commit 111ebf5

Please sign in to comment.