Käynnissä

Sort Album Collection Random

Running music website. Want albums returned in random order. See attachment for code. Will not provide access to server but you can ask for any other files needed. Most methods i've tried result in 'error 500' .

Code:

<?php namespace App\Services\Providers\Local;

use App\Album;

use Illuminate\Database\Eloquent\Collection;

class LocalNewReleases {

/**

* Get new album releases using local provider.

*

* @return Collection

*/

public function getNewReleases() {

return Album::with('artist', 'tracks')

->join('artists', '[url removed, login to view]', '=', 'albums.artist_id')

->orderBy('release_date', 'desc')

->limit(100)

->select('albums.*')

->get();

}

}

Taidot: Laravel, MySQL, PHP

Näytä lisää: album art designer wanted for local band, local business categories database, synchronize local remote mysql database, web site mp3 player album art random xml, magento product collection random, jboss mdb bound local local home interfaces, bound local local home interfaces, running mysql php application local kiosk, bound doesnt local local home interfaces jboss messagedriven, romania local jobs resume database employer, net website slow running local, message driven bound doesnt local local home interfaces, album collection assignment, bound doesnt local local home interfaces, good music website, music website scripts, music website script, hit ground running music supervision, integrate music website, add flash music website, e107 music website, running dating website, joomla music website, music website providers, rap music website

Tietoa työnantajasta:
( 21 arvostelua ) East Wenatchee, United States

Projektin tunnus: #15110272

Myönnetty käyttäjälle:

tabrhen

Please try this "orderByRaw('ORDER BY rand()')" instead of "orderBy('release_date', 'desc')". Relevant Skills and Experience PHP, Laravel, Eloquent ORM Proposed Milestones $15 USD - After successful

15 $ USD 1 päivässä
(3 arvostelua)
2.5

11 freelancers are bidding on average $34 for this job

rajeshsonisl

Hello! With 98% to 99% completion rate, 1000+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page [url removed, login to view] !!)... Lisää

35 $ USD 1 päivässä
(834 arvostelua)
8.4
mahamadali

Great experience in PHP,Laravel,MySQL,DB. You can see these in my profile and reviews. I will complete your requirement for making the new releases in random order rather order by in less than 5 minutes. Waiting for Lisää

25 $ USD 1 päivässä
(121 arvostelua)
6.1
Chitanok

I am ready to start your project from now. will work till it completed Relevant Skills and Experience Laravel framework, php, wordpress, ajax, javascript, bootstrap css and html5. I also have expertise on Responsive d Lisää

35 $ USD 1 päivässä
(94 arvostelua)
5.8
ersharmadinesh19

I have gone through from your description and can do this work comfortably. I have 6+ years experience in development and i have done lot's of project in my development career. Relevant Skills and Experience PHP, Node Lisää

30 $ USD 10 päivässä
(53 arvostelua)
5.7
phpfreelancer86

Hello Sir, I've reviewed your requirement and I'm ready to work with you. I will provide quality work as well full support for any query. I'm giving you trust for good quality work. Relevant Skills and Experience I h Lisää

35 $ USD 0 päivässä
(125 arvostelua)
6.0
wsafreelancer

HI! i can fix your music website random query just message me i will start your work immediately and complete it as soon as possible thank you ! Relevant Skills and Experience I have 7+ years experience in web develo Lisää

20 $ USD 1 päivässä
(78 arvostelua)
5.6
110 $ USD 10 päivässä
(15 arvostelua)
3.7
20 $ USD 10 päivässä
(7 arvostelua)
3.0
technofizi

Hi, We have gone through your requirement and can fix this 500 error very easily this is a server side error so we need to play with source code. please share link to your your website. Relevant Skills and Experience Lisää

21 $ USD 1 päivässä
(5 arvostelua)
2.4
glenko921

Greetings! I can solve your issue. Relevant Skills and Experience I'm professional laravel developer with more than 4 years of experience. If you apply me, I can finish your job with no bugs and high quality. Propose Lisää

30 $ USD 10 päivässä
(1 arvostelu)
2.0