Closed (fixed)
Project:
Multiupload Filefield Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2012 at 04:58 UTC
Updated:
27 Feb 2014 at 07:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
darvit commented20 file limit is set in PHP;
See previous issue:
http://drupal.org/node/1345634
Comment #2
postak commentedok, understand the 20 limit, thanks!
changing the title of the issue
Comment #3
arseniew commentedquick (and propobly dirty) fix for files order:
in multiupload_filefield_widget.field.inc
replace
$element_children = element_children($element, TRUE);with
$element_children = element_children($element, FALSE);Comment #4
pedromvpg commentedNice! Thanks!
Comment #5
thatjustin commented#3 Works perfectly for me. Any thing that should be watched out for? arseniew mentioned it was "dirty", but I don't know what to watch out for.
Comment #6
arseniew commentedthatjustin:
I didn't do any testing for that change, other than simply uploading files.
I have it live on my site for over a month and it seems to work right; i didnt experienced any data corruption or errors.
Only issue one user reported, was the fact that last file uploaded sometimes jump in the first place, although i wasn't able to reproduce that error.
Other thing you should watch for is updating this module, that will overwrite change made.
When im 100% sure everything works right i will try to commit this change to module.
Comment #7
postak commentedno problem with #3, works perfectly for me. thanks!
Comment #8
lv46gl commentedHello, #3 works perfectly for me, thanks!
Comment #9
lolmaus commented#3 worked flawlessly for me. Attaching a patch.
Comment #10
petu commentedWooooohoooo!! It works!! I mean the patch from #9...
Thank a lot!
Comment #11
jlbellido#9 works for me!! Thanks!!
Comment #12
czigor commented88905fd5617c768f9a21f4f484720b4f1232ce2e Issue #1733898 File upload order
Comment #14
cjs_ commentedI've applied the patch and verified that the line in question has been changed, but sorting behavior remains unchanged.
I'm a bit surprised as there seems to be (other than me) unanimous success with the change.
Any thoughts on why I might still be seeing the original sort behavior?
Comment #15
cjs_ commentedI've now updated to the most recent dev version of the module, in which the call to element_children() has the second argument removed entirely (thus defaulting to FALSE) and still the original, odd sort behavior persists.
Comment #16
czigor commentedYou don't need to patch anything, it's in 1.14. If it is still not working, please file a new issue.
Comment #17
hmartens commentedIs 1.14 the development version because the module is currently sitting on 1.13?
Comment #18
czigor commentedMy bad, I meant 1.13.
Comment #19
trevorleenc commentedI am still experiencing this.
I am using 7.x-1.13+1-dev (2014-May-06), and the patch in #9 was not applied, but even after applying it, I still get a funky sorting of my files, even when uploading 5-7 at a time (which makes it easier to do because of this).
I also noticed that the patch was not in 7.x-1.13 either.
edit: I've tried combinations of TRUE or FALSE on that line, and it has not made any difference...
edit #2" ok, with FALSE on that line, and if I use the browser's open files, sorting comes out just fine, however, if I drag files onto the upload field, the sorting comes out all wonky and stuff...