Currently, when you enter your patron account on the OPAC, you see the "Checked out" tab on the "your summary" page. Currently, to see the number of holds, number of waiting items, number of check outs, and the amount of fines, you have to click on the tabs. However, one of our librarians has pointed out that it might be better to see the numbers at a glance (especially in regards to fines), as patrons might not realize that they need to click through to view counts and amounts. I propose adding the counts and amounts to the tab headings themselves. This way, patrons will know at a glance where they stand. They can then click the tabs for more details. The counts/amounts are already being passed to the template, so it's an easy change. -- My main question is...do I do patches for bootstrap, ccsr, and prog?
Created attachment 23888 [details] [review] Bug 11465 - Show counts and amounts on OPAC your summary tabs This patch adds counts and amounts to the tabs in the 'your summary' page of the OPAC patron account. _TEST PLAN_ Before applying: 1) Choose a test patron 2) Place a few holds 3) Check in one of the holds so that it is waiting for the patron 4) Check out a few items 5) Check out another item that can generate fines (backdate it a few weeks/months) 6) Run fines.pl to generate fines (make sure your finesmode syspref is set to prod) 7) Check your OPAC patron account. 8) Note the tabs "Checked out, Fines, Holds, and Waiting" Apply the patch 1) Switch your OPAC to the bootstrap theme 2) Refresh your browser for the OPAC patron account screen 3) Note that the applicable counts and amounts appear on the tabs -- At the moment, I just have a Bootstrap patch. This is an easy patch though, so I can duplicate to the other themes if necessary...
Created attachment 24951 [details] [review] [SIGNED-OFF] Bug 11465 - Show counts and amounts on OPAC your summary tabs
I think "Waiting" should appear as a separate tab according to the test plan, but this is not working for me before AND after appyling the patch. The waiting holds always appear on the "Holds" tab. As I can't detect a regression, I am going to pass this. David, could you maybe take a look why that doesn't work?
Created attachment 24981 [details] [review] [PASSED QA] Bug 11465 - Show counts and amounts on OPAC your summary tabs This patch adds counts and amounts to the tabs in the 'your summary' page of the OPAC patron account. _TEST PLAN_ Before applying: 1) Choose a test patron 2) Place a few holds 3) Check in one of the holds so that it is waiting for the patron 4) Check out a few items 5) Check out another item that can generate fines (backdate it a few weeks/months) 6) Run fines.pl to generate fines (make sure your finesmode syspref is set to prod) 7) Check your OPAC patron account. 8) Note the tabs "Checked out, Fines, Holds, and Waiting" Apply the patch 1) Switch your OPAC to the bootstrap theme 2) Refresh your browser for the OPAC patron account screen 3) Note that the applicable counts and amounts appear on the tabs -- At the moment, I just have a Bootstrap patch. This is an easy patch though, so I can duplicate to the other themes if necessary... Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> All tests on bootstrap pass Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> All tests and QA script pass. "Waiting" doesn't appear to work for me with and without the patch. "Checkouts", "Holds" and "Fines" work fine.
Pushed to master. Thanks, David!
Pushed to 3.14.x, will be in 3.14.08