Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
ordering comment ratiings Feature Requests
By dr k , Section Code []
Posted on Fri Feb 22, 2002 at 12:00:00 PM PST
It would be nice if the comment ratings page (when you click on the score for a specific comment) had the user moderations sorted by rating. All the 5's at the top, all the 1's/0's at the bottom. Someone would just have to add an "ORDER BY" to the query.

< "TITLE" attribute should be used for tootlips | The Edge City Chronicle >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· More on Feature Requests
· Also by dr k

Story Views
  17 Scoop users have viewed this story.

Display: Sort:
ordering comment ratiings | 6 comments (6 topical, 0 hidden)
Good idea (none / 0) (#1)
by rusty on Sun Mar 03, 2002 at 06:14:44 AM PST

For anyone looking to add this, in the "show_comment_raters" box, simply change the part that reads:

my ($rv, $sth) = $S->db_select({
  WHAT => 'uid, rating',
  FROM => 'commentratings',
  WHERE => qq{sid = $f_sid AND cid = $f_cid}});
To:
my ($rv, $sth) = $S->db_select({
  WHAT => 'uid, rating',
  FROM => 'commentratings',
  WHERE => qq{sid = $f_sid AND cid = $f_cid},
  ORDER_BY => 'rating DESC'});




Great post (none / 0) (#5)
by mark22 on Tue Nov 01, 2016 at 08:11:37 AM PST

You have posted a nice tutorial which i like reading. I have learned a lot from your post. Keep writing such articles. gymnastic mats



best kitchen remodeling brooklyn (none / 0) (#6)
by Pervez on Sun Mar 31, 2019 at 01:04:48 PM PST

Love suitable for building having chiropractor doctor health practitioner. The internet site far more could possibly as I be given which model of truth publicized into their usual good course of action. It truly is simple to press in this article best kitchen remodeling brooklyn Together with agree to one's website page.



ordering comment ratiings | 6 comments (6 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search