Bug 32483

Summary: Show requested changes to personal details in OPAC
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Lari Taskula <lari.taskula>
Status: Pushed to main --- QA Contact: Laura Escamilla <Laura.escamilla>
Severity: enhancement    
Priority: P5 - low CC: lari.taskula, Laura.escamilla, lucas
Version: MainKeywords: rel_26_05_candidate
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
26.05.00
Circulation function:
Bug Depends on:    
Bug Blocks: 41161    
Attachments: Bug 32483: Add OPAC notification on pending patron modification request
Bug 32483: Add OPAC notification on pending patron modification request
Bug 32483: Add OPAC notification on pending patron modification request

Description Katrin Fischer 2022-12-16 13:22:44 UTC
At the moment when a user makes a request for changing the address or similar, there is a note on submitting the form, that the request will be forwarded to the library for processing.

After that, when the page is reloaded, the old information still shows and there is no  hint on a pending change request.

It would be nice if we could show that there was still a change request pendingon the page, so that people don't resend them unnecessarily. 

And it would be great if we could show which changes were requested.
Comment 1 Lari Taskula 2025-10-01 14:32:05 UTC
Created attachment 187198 [details] [review]
Bug 32483: Add OPAC notification on pending patron modification request

To test:
1. Apply patch
2. In OPAC, submit updates to your patron details under "Personal details"
3. Navigate back to "Personal details"
4. Observe text "Your have recently submitted updates to your personal details.
A librarian will review your updates before applying them."
5. In staff client, approve modification changes
6. Navigate back to OPAC "Personal details"
7. Observe the notification has disappeared
Comment 2 Lari Taskula 2025-10-01 14:38:44 UTC
> And it would be great if we could show which changes were requested.

Provided patch lacks the diff between old and new values, adding only a notification that a pending update exists. It adds a bit more complexity for which I currently do not have the resources to get into. But the information on a pending change is already a lot more helpful than nothing at all.
Comment 3 Owen Leonard 2025-10-31 12:46:46 UTC
Created attachment 188823 [details] [review]
Bug 32483: Add OPAC notification on pending patron modification request

To test:
1. Apply patch
2. In OPAC, submit updates to your patron details under "Personal
   details"
3. Navigate back to "Personal details"
4. Observe text "Your have recently submitted updates to your personal
   details. A librarian will review your updates before applying them."
5. In staff client, approve modification changes
6. Navigate back to OPAC "Personal details"
7. Observe the notification has disappeared

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 4 Lari Taskula 2025-10-31 13:41:59 UTC
(In reply to Katrin Fischer from comment #0)
> And it would be great if we could show which changes were requested.
I've moved this feature request to Bug 41161
Comment 5 Laura Escamilla 2025-11-07 14:13:42 UTC
Created attachment 189331 [details] [review]
Bug 32483: Add OPAC notification on pending patron modification request

To test:
1. Apply patch
2. In OPAC, submit updates to your patron details under "Personal
   details"
3. Navigate back to "Personal details"
4. Observe text "Your have recently submitted updates to your personal
   details. A librarian will review your updates before applying them."
5. In staff client, approve modification changes
6. Navigate back to OPAC "Personal details"
7. Observe the notification has disappeared

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Comment 6 Lucas Gass (lukeg) 2025-12-01 19:31:29 UTC
This is a string patch and since we are passed string freeze I will mark this as a 26.05 candidate.
Comment 7 Lucas Gass (lukeg) 2026-01-13 22:08:49 UTC
Nice work everyone!

Pushed to main for 26.05