Bug 32483

Summary: Show requested changes to personal details in OPAC
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lari.taskula
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: 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.