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 |
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.
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.
Added ~duganal to the ticket.
We decided in yesterday's status meeting to implement filtering of search results by publication type as part of the Glacier release.
Installed on DEV.
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.
Changed requirements installed on DEV.
tested on dev - looks good
Tested on QA - looks good
verified on prod
Elapsed: 0:00:00.000596