Open thezenmonkey opened 9 years ago
@thezenmonkey nice work!
I've got the initial sort working, though it seems a littl hacky to me. I use the order of the file IDs from $_POST['Images']['Files'], if you can think of a better way it may be cleaner.
@thezenmonkey I haven't looked at this code in a while, if it works it's fine by me :-)
I started playing with GalleryUplaodFIeld in SS3.2. I've corrected for the new markup, and changed the way theh ManyMany extra fields are handled:
Still to do, fix sort order when adding items. New items get a SortOrder of 0 but render at bottom of list on upload.