Skip to content

Commit

Permalink
Minor fix (openemr#6320)
Browse files Browse the repository at this point in the history
  • Loading branch information
epsdky committed Mar 30, 2023
1 parent 5fd7966 commit 46de5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/patient_file/summary/demographics.php
Original file line number Diff line number Diff line change
Expand Up @@ -1767,9 +1767,9 @@ function setMyPatient() {

// Show PAST appointments.
// added by Terry Hill to allow reverse sorting of the appointments
$direction = '2';
$direction = '1';
if ($GLOBALS['num_past_appointments_to_show'] < 0) {
$direction = '1';
$direction = '2';
($showpast = -1 * $GLOBALS['num_past_appointments_to_show']);
} else {
$showpast = $GLOBALS['num_past_appointments_to_show'];
Expand Down

0 comments on commit 46de5be

Please sign in to comment.