my $gran = $U->ou_ancestor_setting_value($org, 'circ.curbside.granularity') || '15 minutes';
my $gran_seconds = interval_to_seconds($gran);
my $horizon = DateTime->now; # NOTE: does not need timezone set because it gets UTC, not floating, so we can math with it
- $horizon->add(seconds => $gran_seconds * 2);
+ #PINES Customization: Fetch next 10 slots instead of next 2
+ #$horizon->add(seconds => $gran_seconds * 2);
+ $horizon->add(seconds => $gran_seconds * 10);
my $slots = $e->search_action_curbside([{
org => $org,
my $gran = $U->ou_ancestor_setting_value($org, 'circ.curbside.granularity') || '15 minutes';
my $gran_seconds = interval_to_seconds($gran);
my $horizon = DateTime->now; # NOTE: does not need timezone set because it gets UTC, not floating, so we can math with it
- $horizon->add(seconds => $gran_seconds * 2);
+ #PINES Customization - fetch next 10 slots instead of next 2
+ #$horizon->add(seconds => $gran_seconds * 2);
+ $horizon->add(seconds => $gran_seconds * 10);
my $slots = $e->search_action_curbside([{
org => $org,