#672 ✓resolved
asolove (at u.washington)

[PATCH] dm-is-list: handle multiple position changes on same object

Reported by asolove (at u.washington) | November 27th, 2008 @ 12:59 PM

When an instance of a DataMapper class using is_list has its position attribute manually changed more than once, the other elements are not correctly rearranged and two items will have the same position in the list.

The tiniest little patch that ever there was is attached.

Comments and changes to this ticket

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) December 1st, 2008 @ 12:10 PM

    • Assigned user set to “Dan Kubb (dkubb)”
    • Tag changed from dm-is-list, dm-more to dm-is-list, dm-more, patch
    • State changed from “new” to “resolved”
    • Title changed from “[patch] dm-is-list: handle multiple position changes on same object” to “[PATCH] dm-is-list: handle multiple position changes on same object”

    This ticket is resolved with the following commit:

    http://github.com/sam/dm-more/co...

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 »

Attachments

Pages