Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot
75dac54591 chore(release): 6.11.1 [skip ci]
## [6.11.1](https://git.datacontroller.io/dc/dc/compare/v6.11.0...v6.11.1) (2024-07-02)

### Bug Fixes

* adding SYSSITE, part of [#116](#116) ([a156c01](a156c0111b))
* ensuring review_reason_txt in output.  Closes [#117](#117) ([e5d93fd](e5d93fd7d6))
2024-07-02 15:19:21 +00:00
a156c0111b fix: adding SYSSITE, part of #116
All checks were successful
Release / Build-production-and-ng-test (push) Successful in 3m54s
Release / Build-and-test-development (push) Successful in 8m12s
Release / release (push) Successful in 8m25s
2024-07-02 16:03:26 +01:00
e5d93fd7d6 fix: ensuring review_reason_txt in output. Closes #117 2024-07-02 16:02:58 +01:00
5 changed files with 25 additions and 5 deletions

View File

@ -1,3 +1,11 @@
## [6.11.1](https://git.datacontroller.io/dc/dc/compare/v6.11.0...v6.11.1) (2024-07-02)
### Bug Fixes
* adding SYSSITE, part of [#116](https://git.datacontroller.io/dc/dc/issues/116) ([a156c01](https://git.datacontroller.io/dc/dc/commit/a156c0111b3de5e3744e38d377d6e9aa09915803))
* ensuring review_reason_txt in output. Closes [#117](https://git.datacontroller.io/dc/dc/issues/117) ([e5d93fd](https://git.datacontroller.io/dc/dc/commit/e5d93fd7d6d86bc47ff56664bd812b4d9d0749a5))
# [6.11.0](https://git.datacontroller.io/dc/dc/compare/v6.10.1...v6.11.0) (2024-06-27)

View File

@ -1,6 +1,6 @@
{
"name": "dcfrontend",
"version": "6.11.0",
"version": "6.11.1",
"description": "Data Controller",
"devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",

View File

@ -105,8 +105,6 @@ create view work.submits as
,a.submitted_by_nm as submitter
,put(a.REVIEWED_ON_DTTM,yymmddhhmmss.) as REVIEWED
,a.submit_status_cd as status
,a.reviewed_on_dttm
,a.reviewed_by_nm as approver
from &mpelib..mpe_submit(where=(submit_status_cd ne 'SUBMITTED')) a
%macro gethistory();
@ -120,8 +118,18 @@ create view work.submits as
%end;
%mend gethistory;
%gethistory()
;
order by a.submitted_on_dttm desc;
/* get latest reason text */
create table work.reviews as
select a.*
,b.reviewed_on_dttm
,b.reviewed_by_nm as approver
,b.review_reason_txt
from work.submits a
left join &mpelib..mpe_review b
on a.table_id=b.table_id
order by a.table_id desc, b.reviewed_on_dttm desc;
%mp_abort(iftrue= (&syscc > 0)
,mac=&_program
@ -129,7 +137,9 @@ create view work.submits as
)
data work.fromsas;
set work.submits;
set work.reviews;
by descending table_id descending reviewed_on_dttm;
if first.table_id;
if _n_ ge &startrow;
n+1;
if n>&hist then stop;

View File

@ -188,6 +188,7 @@ data _null_;
put "<li> METAPERSON: " metaperson "</li>";
put "<li> METAUSER: " metauser "</li>";
put "<li> SYSUSERID: " sysuserid "</li>";
put "<li> SYSSITE: &syssite</li>";
url='/SASStoredProcess/do';
end;
else do;

View File

@ -222,6 +222,7 @@ data _null_;
put "<li> SYSUSERID: " sysuserid "</li>";
put "<li> SYSHOSTNAME: &syshostname</li>";
put "<li> SYSVLONG: &sysvlong</li>";
put "<li> SYSSITE: &syssite</li>";
run;
data _null_;