Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orderby Rand not working #714

Closed
davoraltman opened this issue Jul 3, 2016 · 1 comment · Fixed by #751
Closed

Orderby Rand not working #714

davoraltman opened this issue Jul 3, 2016 · 1 comment · Fixed by #751
Labels
[Pri] High Wide impact, no workaround. [Type] Bug
Milestone

Comments

@davoraltman
Copy link

When you try using the shortcode [jobs orderby="rand"], it doesn't display job listings in a random order as it should.

Tried using different themes, the issue persists. Brought up in this forum thread.

@chaselivingston chaselivingston added this to the 1.25.1 milestone Aug 5, 2016
@chaselivingston chaselivingston added the [Pri] High Wide impact, no workaround. label Aug 5, 2016
@donnchawp
Copy link
Contributor

The problem was the caching being done on the WP_Query that fetched the jobs. I just shuffled the posts to make the order different.

donnchawp added a commit that referenced this issue Sep 9, 2016
Fix jobs shortcode so the random orderby is actually random. Fixes #714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] High Wide impact, no workaround. [Type] Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants