Bug 30849 - Make pending patron modification notices on staff main page number of modifications at logged in branch
Summary: Make pending patron modification notices on staff main page number of modific...
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-25 15:14 UTC by Lucas Gass (lukeg)
Modified: 2022-07-15 13:00 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 30849: show pending modifications by branch (3.65 KB, patch)
2022-06-08 16:09 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 30849: show pending modifications by branch (3.71 KB, patch)
2022-07-12 15:55 UTC, Biblibre Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2022-05-25 15:14:57 UTC
On the staff main page pending suggestions show some like:


Suggestions pending approval: Centerville: 2 / All libraries: 100


It would be nice if we could do the same thing with pending patron modifications


Patrons requesting modifications: Centerville: 2 / All libraries: 100
Comment 1 Lucas Gass (lukeg) 2022-06-08 16:09:51 UTC
Created attachment 135823 [details] [review]
Bug 30849: show pending modifications by branch

To test:
1. Add some borrower modifications from the OPAC from patrons that belong to some different libraries.
2. On the staff client mainpage (mainpage.pl) you should see a link 'Patrons requesting modifications:' but no way of knowing if they are patrons from your logged in branch or not
3. Apply patch, restart_all
4. Try step 2 again and now you should see something like 'Patrons requesting modifications: Centerville: 1 / All libraries: 2';
5. Trying and and fulfilling some modifcations and make sure the numbers on mainpage.pl are always correct.
Comment 2 Biblibre Sandboxes 2022-07-12 15:55:03 UTC
Created attachment 137644 [details] [review]
Bug 30849: show pending modifications by branch

To test:
1. Add some borrower modifications from the OPAC from patrons that belong to some different libraries.
2. On the staff client mainpage (mainpage.pl) you should see a link 'Patrons requesting modifications:' but no way of knowing if they are patrons from your logged in branch or not
3. Apply patch, restart_all
4. Try step 2 again and now you should see something like 'Patrons requesting modifications: Centerville: 1 / All libraries: 2';
5. Trying and and fulfilling some modifcations and make sure the numbers on mainpage.pl are always correct.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Comment 3 Daniel Jones 2022-07-12 15:56:44 UTC
Works as described, great idea for a feature.

I noticed this creates two links that both lead to the same location. At first glance it looks like the first link will only take you to patrons of that library who require approval.

Maybe if it was all one link it would be clearer that the destination is the same.
Comment 4 Katrin Fischer 2022-07-15 13:00:09 UTC
1) I am not sure if we don't give off the wrong impression here. The link for "my library" and "all libraries" is the same, because the patron modification page doesn't filter. But I think having 2 links would give off the impression that they behave differently. Would it be possible to create a link that filters? Or maybe we keep the link on the Patrons requesting... and not on the numbers.

2) We don't take  IndependentBranchesPatronModifications into account. I believe if that is 'on' we should only show the library count and could hide the all libraries one.

3) When there are no modification requests for the current library, it reads:
Patrons requesting modifications: Centerville: / All libraries: 1

For suggestions we show 0 here, which is a little nicer.