DOB calendar minor bug

Situation
When hovering over the patient name the DOB shows wrong information.
OpenEMR Version
I’m using OpenEMR version 6.1.0 (1)

Browser:
I’m using: 102.0.5005.115 (Official Build) (64-bit)

Operating System
I’m using: Win 10 Pro 64

Logs
Did you check the logs?
no

1 Like

In your test patient what is the patient’s correct DOB supposed to be?

1 Like

@adunsulag
image

1 Like

You must have comment = “1”. Bug is space/new line missing between DoB and Comment field print/echo.

3 Likes

@mdsupport thanks for the reply. But where do I look to change code ?

1 Like

Search for “DOB” in github code. It will be in a html file because calendar uses templating. On top of it they replicated the code for Day, Week and Month. You can fix one or all. Because the templates are “compiled”, you may have to clear cache before your change takes effect.

Best.

2 Likes

put a fix up for it, thank you

1 Like

@stephenwaite I tried to do the fix on my working version. “”“My library/options.inc.php”"" has code in different line than in github, line 619, 620, and 693 instead of 628, 629, and 702 in github.
Also no “”“library/templates/address_list_display.php”"" and “”“src/Services/ContactService.php”"" pathways.
So is this fix for developing versions only or i have something broken.

part of it was for dev, so it’s only that 1 line

will add it to rel-610 soon

2 Likes

@stephenwaite so i reversed the changes in “”“My library/options.inc.php”"" it already broke a lot of stuff :sweat_smile:. I only did the “”“minor fix for cal comment hover, fix getContactsForPatient display by stephenwaite · Pull Request #5512 · openemr/openemr · GitHub"”"
And this is the result now
image
Its working … Great !

2 Likes