-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom patient report cleanup (Fixes: #5744, #5765, #5766) #5751
Conversation
@sjpadgett @bradymiller No rush, just wanted to let you know this is now ready to review. Thanks. |
created a PR for the demo at openemr/demo_farm_openemr#41 |
up for grabs demo is up at https://four.openemr.io/c/openemr/interface/login/login.php?site=default |
Thank you very much! $job has requested some more layout modifications, so I'll file the issues and link over the PR |
@bradymiller It should be functional now with my latest commit. There's some spammy PHP warnings that could probably fix, but, well, one step at a time :) Please do let me know if you have any further questions. Probably looking at next week Mon or Tues it should be ready for a review cycle. Thanks. |
library/options.inc.php
Outdated
{ | ||
if ($sel != '*' && strpos($sel, 'grp_group_id') === false) { | ||
$sel = "grp_group_id, $sel"; | ||
} | ||
$gres = sqlStatement("SELECT $sel FROM layout_group_properties WHERE grp_form_id = ? " . | ||
"ORDER BY grp_group_id", array($formtype)); | ||
" ORDER BY grp_group_id " . | ||
($limit ? "LIMIT " . $limit : ""), array($formtype)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to escape this for sql with the following:
($limit ? "LIMIT " . escape_limit($limit) : ""), array($formtype));
4ae339a
to
5da960b
Compare
hi @tsimonq2 , Code looks good and testing well. After the merge conflict is addressed, can then bring this in (if you give us access to the PR branch, then we can do that since pretty sure just a conflict in the sql upgrade script; see below screenshot for toggle that can select for this in the PR (bottom of right column)). |
Heya @bradymiller - can I still add some additional features to this PR or would you rather merge it now as-is and ask me to do the other issues in a different PR? Totally your call. I appreciate it! |
hi @tsimonq2 , gonna bring this in and then would use separate PR's for other issues. Thanks for the improvements! |
Thank you very much @bradymiller @stephenwaite et al. for your help! |
, openemr#5766) (openemr#5751)" This reverts commit 758a42b.
Fixes: #5744, #5765, #5766
(Throwing the WIP flag back up on this, since we have an up for grabs demo available here. I'll update this PR once it's all ready again.)
Changes proposed in this pull request:
grp_unchecked
column tolayout_group_properties
[ x ]
/[ ]