sortablefile
sortablefile copied to clipboard
An extension for SilverStripe 4.1+ that allows sorting of multiple attached images (extends UploadField)
I have added a SortableUploadField (on a silverstripe-elemental block) and it works fine when uploading images one by one - but when I try to drop multiple images in (or...
In https://github.com/bummzack/sortablefile/blob/0028923180b10d7613ff239a0fd56acdf96872ab/src/Forms/SortableUploadField.php#L199 the first parameter of `assign` isn't escaped, which causes SilverStripe-Installations with PostgreSQL databases to cast the column to lower-case (i.e. `"sortorder"`). Shouldn't it be escaped as follows? ```php...
I have add the following to the SiteConfig for a site and the field works - it allows the uploading of multiple files into each db field. Dev/Build created the...
Discovered an issue where the sort order can be lost if a SortableUploadField is used in an Element with `$inline_editable = true`. Video shows the bug in action and how...