Issue Number | 4947 |
---|---|
Summary | Modify Media Lists Report |
Created | 2021-02-24 11:26:18 |
Issue Type | Improvement |
Submitted By | Osei-Poku, William (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2021-04-29 07:08:59 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.285510 |
Please modify the Media Lists report to add the following two filters
as checkboxes. We'd like to be able to select either one or both at the
same time.
*Exclude blocked documents
*Exclude non publishable documents
Also, please include the following language options for
English
Spanish
When both options are selected, please display the combined results for
both languages as is currently displayed in the current report.
~oseipokuw: which of these indexed attributes should the report use for narrowing by language?
/Media/MediaContent/Captions/MediaCaption/@language |
/Media/MediaContent/ContentDescriptions/ContentDescription/@language |
/Media/PhysicalMedia/ImageData/LabelName/@language |
There's also a /Media/MediaContent/MediaLanguage
element, but that's optional, and it's not indexed.
I think using these two below should be okay. The language attributes for each of the elements must match the media doc it is contained in (we have separate docs for English and Spanish with the Spanish ). If they don't match, I believe that is a user error. Also, if this helps, we currently link the Spanish to the English using the TranslationOf element in the Spanish docs.
/Media/MediaContent/Captions/MediaCaption/@language |
/Media/MediaContent/ContentDescriptions/ContentDescription/@language |
So I could use the presence/absence of the TranslationOf
element to do the language filtering?
Yes. All the Spanish should have the TranslationOf element except a handful that are either new or were missed.
Enhancements implemented on CDR DEV.
I get the attached error message when I select "adrenocortical carcinoma" for Diagnosis and "abnormal cells tissues" under Category with "Exclude blocked documents" and both languages selected.
Fixed.
Verified on DEV. Thanks!
Verified on QA. Thanks!
Verified on PROD. Thanks!
File Name | Posted | User |
---|---|---|
MediaListsReport Error.PNG | 2021-04-28 17:50:14 | Osei-Poku, William (NIH/NCI) [C] |
MediaListsReportInterface.PNG | 2021-04-28 17:50:14 | Osei-Poku, William (NIH/NCI) [C] |
Elapsed: 0:00:00.001451