EBMS Tickets

Issue Number 712
Summary Literature Review Packets page - filter options not working correctly
Created 2023-01-24 10:33:25
Issue Type Bug
Submitted By Boggess, Cynthia (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-01-24 13:45:02
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.337072
Description

There seems to be a bug with the filter options on this page. At first arrival on the page and upon opening the accordion menu, the board names are highlighted in the menu which seems odd to me. See screenshot. Filtering alone with board seems to work but adding a topic to the filter retrieves zero results even though there are packets for that topic in the list.

Note: This is not a page I use or even have access to from the librarian pages. I found this bug by accident when I was trying to verify something else for the test admin login. So I'm not the best person to be reporting/testing this.

Comment entered 2023-01-24 11:46:49 by Kline, Bob (NIH/NCI) [C]

The filtering form comes up by default with the boards assigned to the current user selected. In the case of the Test Admin Assistant, that would be six out of the seven boards. I'm trying to reproduce the problem you describe of not finding any packets for topics for which you know there are active packets, but I'm not having any luck. I'm on https://ebms4-dev.nci.nih.gov, logged on as the Test Admin Assistant, and filtering for Adult Primary Liver Cancer I get seven packets. Can you provide specific repro steps, please? I tried looking in the database to see if I could figure out what you did when it failed, but there were too many rows for that page from this morning to know which one(s) to look at.

Comment entered 2023-01-24 12:13:09 by Boggess, Cynthia (NIH/NCI) [C]

From your screenshot, I can see that you selected Adult Primary Liver Cancer, but the first three packets retrieved are Adult non-Hodgkins and Hodgins not liver cancer.

Comment entered 2023-01-24 12:18:51 by Boggess, Cynthia (NIH/NCI) [C]

Logged in as Test Admin, upon landing on the page, there are 1532 packets listed. The first one is for peds/late effects. When I filter the list by peds board and late effects the result is zero. When I refine and uncheck "Active" the result is still zero. So how do I retrieve the packet that I saw at the top of the list of 1532? Again, this is not my page so I could be missing an important detail but something just seems off.

Comment entered 2023-01-24 12:25:02 by Boggess, Cynthia (NIH/NCI) [C]

When I tried to repro your screenshot by filtering with adult board and primary Liver cancer, I got 1 packet but it was titled Adrenocortical. When I unchecked "active" I got zero.

Comment entered 2023-01-24 13:45:02 by Kline, Bob (NIH/NCI) [C]

Another outstanding catch! You're batting 1000. 😉

Fixed on https://ebms.rksystems.com

Comment entered 2023-01-24 13:49:21 by Kline, Bob (NIH/NCI) [C]

Your instincts are spot-on, even for pages you don't normally use. 👍

Comment entered 2023-01-24 14:17:17 by Boggess, Cynthia (NIH/NCI) [C]

thanks 🙂

Comment entered 2023-01-24 14:35:26 by Boggess, Cynthia (NIH/NCI) [C]

Looks good on erc. The filter results match the board/topic selected. And the number retrieved seems to match as well. But one of the BMs should verify.

Comment entered 2023-02-08 17:16:03 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Attachments
File Name Posted User
image-2023-01-24-10-31-06-570.png 2023-01-24 10:31:07 Boggess, Cynthia (NIH/NCI) [C]
image-2023-01-24-11-45-26-893.png 2023-01-24 11:45:29 Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.000767