Anselm Lingnau

The dances in the user-rated ranking list now display the usual dance type, set shape, and source information. This was a five-line hack that I just added, prompted by a query in the SCD teachers' Facebook group where somebody asked for the »top 20 Drewry dances«. It is now easy to find these according to the user ratings (or indeed the top 20 dances for any dance author) simply by putting the author's name into the »filter« box at the top right of the table. (Although to be sure this will also catch dances where the search term occurs in the title, like Tribute to John Drewry, so if any of these are popular enough you will need to exclude them yourself.)

For our more technical-minded readers, the reason why this hasn't been added before is that the rating system implementation is generic and supports ratings of any database object (not just dances). It can generate links to the detail pages for all of these objects but so far didn't include supplementary info. On the other hand, adding that info is important for dances (a) to enable tricks like the one mentioned above, and (b) because some dance names have been used more than once, and it would be inconvenient to have to check the details page to see which dance was actually meant. So a special case is warranted here.


· · Posted by Anselm Lingnau · 23 April 2014 12:21