Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag & Drop multiple image field not saving order #2567

Closed
robertfyffe opened this issue Jan 2, 2015 · 7 comments · Fixed by #2570
Closed

Drag & Drop multiple image field not saving order #2567

robertfyffe opened this issue Jan 2, 2015 · 7 comments · Fixed by #2570
Assignees
Milestone

Comments

@robertfyffe
Copy link

I have added a multiple image field to my pod. When I try and re-order the images using the drag and drop facility it works just fine, however when I save the post the order is not saved it reverts to the original order. See screenshots below:

before
required_order

The first screenshot is the original order, the second is what I want but when the post is saved it just reverts to the original.

I have the latest version of Wordpress and Pods installed and very few other plugins so cannot see any problem from my side. Could this issue be tested?

Thanks
Robert

@sc0ttkclark
Copy link
Member

Could this be cache related @jamesgol?

@robertfyffe Can you go to Pods Admin > Settings > Clear Pods Cache and then return to the edit page? Let me know if you see it in the order you had originally saved it in now.

@robertfyffe
Copy link
Author

Thanks for the reply, I just tried clearing the cache still the same problem.

@Shelob9
Copy link
Contributor

Shelob9 commented Jan 2, 2015

Possibly related #2556

@robertfyffe
Copy link
Author

I have looked through that issue, don't think it is related, I tried selecting different options and still have the same problem.

jamesgol added a commit that referenced this issue Jan 3, 2015
In PR #2350 I attempted to fix bug #2277, and it did but also removed the sorting by the weight.

This should fix #2567 as well as not regressing the fix for #2277
@Shelob9 Shelob9 added this to the Pods 2.5.1 milestone Jan 4, 2015
@robertfyffe
Copy link
Author

Now working perfect, thanks guys.

@johnlafon
Copy link

I see you said this was fixed, is there an update or do I need to manually change the code?

@Shelob9
Copy link
Contributor

Shelob9 commented Jan 12, 2015

This will be included in Pods 2.5.1, which is almost complete. You can get the latest beta version by checking out the 2.x branch or via http://pods.io/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants