Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Folder order attribute doesn't change



AuthorMessage
dgtale

Posted: Sep 06, 2012
Score: 0



Folder's "ord" attribute is not updated when the user changes the order of their folders on the web app.

Here is a concrete example:

Initial state:
[{"id":"3291875","name":"Hobby..","private":"0","archived":"0","ord":"3"},{"id":"3291877","name":"Sh opping.","private":"0","archived":"0","ord":"2"},{"id":"3291879","name":"Vacation.","private":"0","a rchived":"0","ord":"1"}]

Then I invert the order on the web app and folders/get.php returns the old values:

[{"id":"3291875","name":"Hobby..","private":"0","archived":"0","ord":"3"},{"id":"3291877","name":"Sh opping.","private":"0","archived":"0","ord":"2"},{"id":"3291879","name":"Vacation.","private":"0","a rchived":"0","ord":"1"}]

As you can see the "ord" attribute remains with the old position value.

Will you please send the "ord" value as it appears on the web app.

Note: the "ord" attribute get updated only when the user changes also the folder title.

Thanks and regards
dgtale
Jake

Toodledo Admin
Posted: Sep 06, 2012
Score: 0



After changing the order on this website by dragging and dropping, are you pressing the "save" button to save those changes?
dgtale

Posted: Sep 06, 2012
Score: 0



Ok, now it's clear: it seems that the "lastedit_folder" in the account info is updated only when the user presses the "Save Changes" button, fair enough.

Thanks
dg


This message was edited Sep 06, 2012.
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Developers

Contact Us | Blog | API | Jobs | Press | Documentation | Forums Privacy | Terms | Copyright © 2004-2014