Transactions with a link in the Patron ID field are not included in the list of search results by Patron ID.

Description

Overview: Transactions with a link in the Patron ID field are not included in the list of search results by Patron ID. 
Steps to Reproduce:

  1. Log into FOLIO environment as User with the "INN-Reach App: All permissions" permission.

  2. Find the transaction with a link in the Patron ID field (the "Patron id" field in the Patron information section in the Transaction detail panel).

  3. Copy Patron ID.

  4. Reset search options.

  5. Enter "Patron id" as a search term in the search field.

  6. Click the "Search" button.

Expected Results: Transactions associated with the patron with the specified Patron ID appeared in the search result list.
Actual Results: Search result list is empty. Message that No results found for this Patron ID appeared.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Tim Auger September 28, 2022 at 7:43 PM

Confirmed on rancher. Thank you, Priyanka!

Priyanka Terala September 27, 2022 at 10:00 AM

 
Changes are deployed on volaris rancher environments and ready for review.

cc  

Tim Auger September 16, 2022 at 7:01 PM
Edited

 

I understand that,

a. "Patron Id" (as stated by Gurleen in earlier comments) should be displayed against "Patron ID" label in the Patron Information accordion.

b. When the transaction status is "Patron Hold", the id should be a link - for this link - display text should be the Patron Id, but it should hold the link to "Folio Patron Id", i.e., link to the folio user record.

If my understanding "a" and "b" above is correct, there needs to be a change in front end.

Please confirm.

TA>> Yes. I'm assuming you've confirmed the mappings via code inspection and testing the code? The logic sounds right to me.

Priyanka Terala September 16, 2022 at 6:06 AM

I think this needs to be revisited.
1. Currently, Patron Information accordion on Transaction Detail, renders "Folio Patron Id" against the label "Patron ID".

2. There are two ids associated with patron information - "Folio Patron Id" and "Patron Id". 
    Folio Patron Id - I understand it is the id of the user/patron within the Folio system.
    Patron Id - I understand it is the id of the user/patron that is associated with the central server, as configured
    in settings.

3. When "Patron Id" is searched, the transaction is fetched. when "Folio Patron Id" is searched, transaction is not fetched. The root cause of this behavior is again same as the one described in https://folio-org.atlassian.net/browse/UIINREACH-181 comments, i.e., the keyword lookup criteria doesn't include fetching by folio patron id. I am not sure of the reason for the lookup criteria to not include it. So, do you think patron id should also be added to search criteria? If yes, backend change is also required

4. As per requirements described in ticket , 

I understand that,

a. "Patron Id" (as stated by Gurleen in earlier comments) should be displayed against "Patron ID" label in the Patron Information accordion.

b. When the transaction status is "Patron Hold", the id should be a link - for this link - display text should be the Patron Id, but it should hold the link to "Folio Patron Id", i.e., link to the folio user record.

If my understanding "a" and "b" above is correct, there needs to be a change in front end.

Please confirm.

cc  

Gurleen Kaur1 September 16, 2022 at 4:50 AM

Thanks ,

Please convert this bug to UIINREACH bug and assign it to .

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Volaris

Fix versions

Release

Morning Glory (R2 2022)

RCA Group

Not a bug

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created June 17, 2022 at 9:46 AM
Updated October 18, 2024 at 11:12 AM
Resolved September 28, 2022 at 7:46 PM
TestRail: Cases
TestRail: Runs