#1 ✓resolved
lighthouse (at kanjitastic)

Javascript sort correct & incorrect don't work

Reported by lighthouse (at kanjitastic) | December 7th, 2009 @ 12:38 PM

Using the drop-down menu to resort by correct and incorrect results in a random shuffle not a sorting.

Comments and changes to this ticket

  • lighthouse (at kanjitastic)

    lighthouse (at kanjitastic) December 7th, 2009 @ 06:16 PM

    • State changed from “new” to “resolved”

    The Cause

    When resorting the cards scores are uploaded to the server as part of the pre-resort process. After they are uploaded they are reset. This means that when the sort is called it's sorting on cards that all have a score of 0.

    The Solution

    I've added an object to the card's state that holds the score for the entire session without interfering with the score upload functions.

    It also turned out that sorting by seen and unseen was broken because only the first card shown was being marked as seen. Now they all are whenever they are shown.

    Getting the Fix

    The fix is in production and should be available to anyone that uses the site. If, however, you are using an iPhone or iPod touch you'll need to open up the site, and search for a new set of cards in order to get the update installed.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The primary KanjiTastic site.
http://www.kanjitastic.com/

Shared Ticket Bins

People watching this ticket

Pages