ForumsDevelopersFolder order attribute doesn't change


Folder order attribute doesn't change
Author Message
dgtale

Posted: Sep 06, 2012
Score: 0 Reference
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 Founder
Posted: Sep 06, 2012
Score: 0 Reference
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 Reference
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

U Back to topic home

R Post a reply

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