EBMS Tickets

Issue Number 616
Summary [Search] Filter database searches by publication type
Created 2021-11-05 09:16:43
Issue Type New Feature
Submitted By Boggess, Cynthia (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-06-23 13:51:12
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.302002
Description

Continuing to expand on what we did with publication types in Denali, users may benefit from the ability to search the database and/or sort their search retrieval by publication types in combination with other search variables. This feature would enhance specificity of citation retrieval in the EBMS.

Search: Users could select from a handpicked list of publication types and limit their search retrieval to the selected publication type in combination with other existing search variables.

Sort: From the “Display Options” Users could choose to sort their queue using a handpicked list of publication types in descending order of level of evidence.

We would need to discuss whether users would prefer one or both of these options. And decide which publication types to include.

Comment entered 2021-11-05 09:38:46 by Kline, Bob (NIH/NCI) [C]

Searching on the publication types shouldn't be a problem. Sorting on a multiply-occurring value is problematic. In order for it to work, we would either need to create a separate publication types sort field in which we would store a single string concatenating all of the type values, or we would have to come up with logic which would assign precedence to the values (if the article has type "A" use that type for sorting, otherwise if it has type "B" use that type, and so on). The obvious drawback to the first approach is that the type you're really interested in can be preceded by arbitrary other types, causing the sort to be not as useful as you might have hoped. The drawback to the second approach is that you have to keep changing the logic to keep up with the introduction of new types and the retirement or renaming of existing types.

In short, filtering the search results by publication type is more likely to be useful than attempts to sort an unfiltered results set by publication type.

Comment entered 2021-11-05 09:41:32 by Kline, Bob (NIH/NCI) [C]

Added  to the ticket.

Comment entered 2023-06-23 11:44:59 by Kline, Bob (NIH/NCI) [C]

We decided in yesterday's status meeting to implement filtering of search results by publication type as part of the Glacier release.

Comment entered 2023-06-23 13:51:12 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-06-27 10:30:16 by Boggess, Cynthia (NIH/NCI) [C]

Tested on DEV and is working as expected.

Would it be possible to be able to select more than one Type to be ORed together? 

Also, for added clarification, I think labeling the filter "Publication Type" would be better than just "Type". 

And can we move it to the Basic Search section below Publication Year? Because this is a bibliographic field unlike all the criteria under the Advanced Search section.

Comment entered 2023-06-28 09:50:00 by Kline, Bob (NIH/NCI) [C]

Changed requirements installed on DEV.

https://github.com/NCIOCPL/ebms/commit/2a7ee9d

Comment entered 2023-06-28 15:17:44 by Boggess, Cynthia (NIH/NCI) [C]

tested on dev - looks good

Comment entered 2023-07-20 10:35:36 by Boggess, Cynthia (NIH/NCI) [C]

Tested on QA - looks good

Comment entered 2023-09-06 15:42:00 by Boggess, Cynthia (NIH/NCI) [C]

verified on prod

Elapsed: 0:00:00.000160