CDR Tickets

Issue Number 5282
Summary Sort list of active users first for Documents Modified Since Last Publishable Version report
Created 2023-09-12 17:55:35
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-09-13 16:10:05
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.357882
Description

The  Documents Modified Since Last Publishable Version report, has a drop down list of users and it appears to list both active and inactive users and for some reason, some users have multiple IDs (different IDs for same user. Probably, IDs they have used in the past). Would it be possible to modify the list to show only active users?

 

  1. CIAT/OCCM Staff

  2. Reports

  3. General Reports

  4. Documents Modified Since Last Publishable Version

Comment entered 2023-09-12 18:34:29 by Kline, Bob (NIH/NCI) [C]

We can change the behavior if that's what you really want. I assume that the reason it was implemented the way it currently works is because the original requirements took into account that this picklist is not created for the purpose of selecting an active user to whom a current task is to be assigned, but is instead looking to report on events which took place in the past, possibly the distant past. If a user creates a bunch of unpublishable versions and then resigns and his or her account is disabled, it's not hard to imagine the need to find out which unpublishable versions that user left behind. This is why we inactivate accounts instead of deleting them: history is important.

 

As for why CIAT administrators sometimes decided it was easier to create a new account to accommodate a name change instead of editing the existing account, for that I have no theories. 😛

Comment entered 2023-09-13 16:10:05 by Kline, Bob (NIH/NCI) [C]

William decided in this morning's standup that he would like to have the inactive users at the bottom of the picklist in their own separate alphabetical sequence. Installed on DEV.

https://github.com/NCIOCPL/cdr-admin/commit/d393b9b

Comment entered 2023-09-14 10:21:24 by Osei-Poku, William (NIH/NCI) [C]

Looks good on DEV. I like that you indicated whether the account was active or not. Thank you!

Comment entered 2023-10-13 14:22:55 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2023-11-01 10:05:11 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
Documents Modified Since.PNG 2023-09-12 17:54:44 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001688