Skip to content

[5.x] Add support for batch searching#1714

Merged
taylorotwell merged 2 commits intolaravel:5.xfrom
JoeyMckenzie:feature/add-support-for-batch-search
Feb 21, 2026
Merged

[5.x] Add support for batch searching#1714
taylorotwell merged 2 commits intolaravel:5.xfrom
JoeyMckenzie:feature/add-support-for-batch-search

Conversation

@JoeyMckenzie
Copy link
Contributor

I recently had a scenario pop up at work where I had to monitor several thousands of jobs over a day to coordinate some work with Stripe. These were all batched, for one reason or another, and it became fairly annoying to have to find failed jobs within a batch on the batch view in Horizon.

Another slight annoyance was that while I was sifting through batches and paging through a lot of job data, I couldn't navigate back to my paginated spot on the batch view when inspecting a batch from the batch detail view.

This PR adds a search to the batch table so we can easily search by batch name or UUID, along with adding some query parameters so we can keep pagination state in browser history. Added benefit is getting to send links to coworkers so they can get right to the batch page in the page table we might be interested in looking at.

Totally open to thoughts around this or if there was a particular reason this wasn't intentionally included. Love Horizon, and hope to make it even better for everyone!

Screenshots

Searching for a batch by UUID with the new search field:

batch-search

Searching for a batch by name:

batch-search-by-name

@JoeyMckenzie JoeyMckenzie force-pushed the feature/add-support-for-batch-search branch from 474d99b to 3f7d1d8 Compare February 20, 2026 22:58
@taylorotwell taylorotwell merged commit 8f0db65 into laravel:5.x Feb 21, 2026
18 checks passed
lewislarsen pushed a commit to lewislarsen/horizon that referenced this pull request Feb 25, 2026
* feat: add search to batches view

* formatting

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants