Bug 41740 - Add count of new curbside pickups to button on circulation home
Summary: Add count of new curbside pickups to button on circulation home
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-30 19:00 UTC by Nick Clemens (kidclamp)
Modified: 2026-01-31 09:25 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41740: Add count of pending curbside pickups to circulation home (3.54 KB, patch)
2026-01-30 19:05 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 41740: Add count of pending curbside pickups to circulation home (3.59 KB, patch)
2026-01-31 09:24 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2026-01-30 19:00:10 UTC
The koha mainpage displays when there are new curbside pickups - it owuld be nice on the circulation homepage to show this too
Comment 1 Nick Clemens (kidclamp) 2026-01-30 19:05:31 UTC
Created attachment 192272 [details] [review]
Bug 41740: Add count of pending curbside pickups to circulation home

To test:
1 - Enable the Curbside pickup module
    http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup
2 - Enable the module for Centerville:
    http://localhost:8081/cgi-bin/koha/admin/curbside_pickup.pl
3 - Allow 'Patron pickup' and add a slot for the current day of the week from 00:00 to 23:59
4 - Sign in to OPAC
5 - PLace a hold
6 - Go to your account
7 - Click 'Curbside pickups'
8 - Schedule a pickup
9 - Return to staff interface
10 - Note the homepage has a link for  'New curbside pickups (1)'
11 - Go to Circulation
12 - Note the Curbside button has no extra info
13 - Apply patch
14 - Reload circulation homepage
15 - Note button now has "( 1 new )"
16 - Click the button
17 - Mark the request as 'Staged and ready'
18 - Reload circulation home
19 - Confirm the button shows no new requests

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 2 David Nind 2026-01-31 09:24:13 UTC
Created attachment 192282 [details] [review]
Bug 41740: Add count of pending curbside pickups to circulation home

To test:
1 - Enable the Curbside pickup module
    http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup
2 - Enable the module for Centerville:
    http://localhost:8081/cgi-bin/koha/admin/curbside_pickup.pl
3 - Allow 'Patron pickup' and add a slot for the current day of the week from 00:00 to 23:59
4 - Sign in to OPAC
5 - PLace a hold
6 - Go to your account
7 - Click 'Curbside pickups'
8 - Schedule a pickup
9 - Return to staff interface
10 - Note the homepage has a link for  'New curbside pickups (1)'
11 - Go to Circulation
12 - Note the Curbside button has no extra info
13 - Apply patch
14 - Reload circulation homepage
15 - Note button now has "( 1 new )"
16 - Click the button
17 - Mark the request as 'Staged and ready'
18 - Reload circulation home
19 - Confirm the button shows no new requests

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2026-01-31 09:25:10 UTC
I think the "( 1 new )" should be "(1 new)" - without the spaces.