Automattic / Automattic/WP-Job-Manager
Issues with `[jobs orderby=rand]` and pagination
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
I use Listable Theme and supposedly, [jobs orderby=rand] should randomize the listings that show - display them in random order. However, through the randomization it keeps showing duplicate listings. I assume that's a bug. How do you fix or avoid that?
Thanks in advance.
#### Steps to Reproduce
1. Listable Theme
2. Listings page
3. [jobs orderby=rand]
#### What I Expected
Show all listings in random order without duplicates
#### What Happened Instead
Showed listings in random order BUT duplicated some listings and didn't show others at all.
#### WordPress / WP Job Manager Version
WordPress 5.2.1
#### Browser / OS Version
Chrome
#### Screenshot / Video
#### Context / Source
Contributor guide
Research direction
Reproduce the issue on the Listings page using the [jobs orderby=rand] shortcode and pagination, comparing the displayed listings across pages. Trace how random ordering is applied to the paginated results; done means the listings remain randomized without duplicates and no listings are omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100