Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

fix(viewpatients): call PatientRepository.findAll() only once #2044

Merged
merged 3 commits into from
May 5, 2020

Conversation

akshay-ap
Copy link
Contributor

fix #2043

Changes proposed in this pull request:

  • Remove redundant db call in ViewPatients
  • Add test case

@gitpod-io
Copy link

gitpod-io bot commented May 4, 2020

@vercel
Copy link

vercel bot commented May 4, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/ehg5ap62b
✅ Preview: https://hospitalrun-frontend-git-fork-akshay-ap-fix-2043.hospitalrun.now.sh

@jackcmeyer jackcmeyer requested review from fox1t and matteovivona May 4, 2020 22:18
@jackcmeyer jackcmeyer added patients issue/pull request that interacts with patients module 🐛bug issue/pull request that documents/fixes a bug labels May 4, 2020
@jackcmeyer jackcmeyer added this to the v2.0 milestone May 4, 2020
@jackcmeyer jackcmeyer merged commit 9084411 into HospitalRun:master May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛bug issue/pull request that documents/fixes a bug patients issue/pull request that interacts with patients module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PatientRepository.findAll() called twice in initial load.
2 participants