solved Order By Star Ratings

derrickhand300
@derrickhand300
10 years ago
1,353 posts
Trying to sort a page of images by STAR ratings using the below
  {jrCore_list module="jrGallery" order_by="*_rating_overall_average_count NUMERICAL_DESC"  require_image="gallery_image" pagebreak=20 page=$_post.p pager=true template=$tpl}

The code was working ok until I added the
order_by="*_rating_overall_average_count NUMERICAL_DESC"  

Now its not displaying any images

Has anyone found a different "order by" code that will sort the grid of images displayed my Highest Rated

(which I am hoping is a combination of both number of ratings AND Stars - I would not want an image that has one "5 star rating" being ranked over an image that has 50 submissons and a overall "4 Star rating")

If you have worked this out on your site pls post how or a link to documents that explain

Thanks
updated by @derrickhand300: 05/17/15 07:20:21AM
douglas
@douglas
10 years ago
2,804 posts
See if this works for you:

{jrCore_list module="jrGallery" order_by="gallery_rating_overall_average_count NUMERICAL_DESC"  require_image="gallery_image" pagebreak=20 page=$_post.p pager=true template=$tpl}



--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thank you Douglas- EXACTLY what I was after!
douglas
@douglas
10 years ago
2,804 posts
Your welcome! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags