Just incase if anybody is interested to participate. http://sublimetexttips.com/giveaways/sublime-te...
Hello, I have a table with priority field which has values 'High', 'Medium' and 'Low'. I need the re...
stidges said: Sorry, I did an edit later. It's the quoting of risk_rating that is the problem, it w...
stidges said: Try removing the select: finding()->orderByRaw("FIELD('risk_rating', 'High',...
stidges said: That's strange.. Are you sure that last 'High' doesn't contain extra spacing or anyth...
stidges said: Try this: // Start query... $query->orderByRaw("FIELD(priority, 'High', 'Medi...
The Laravel portal for problem solving, knowledge sharing and community building.
The community