silverstripe-dms/code
Ian Walls dfbddb49a2
Add support for GridfieldOrderableRows
GridfieldExtensions' GridfieldOrderableRows is functionally quite similar (if not identical) to GridFieldSortableRows, and not all developers may want to support both modules.  This commit adds fallback support for sorting Document Sets using GridfieldOrderableRows if it is installed, and GridFieldSortableRows is not.

To test:
1. Uninstall GridFieldSortableRows (or start with an install without it)
2. Install GridFieldExtensions
3. Create/Open a Document Set
4. Make sure there are multiple files within.
5.  Drag/drop reorder without errors
2018-06-18 15:14:08 -04:00
..
cms Merge branch '2.1' 2018-01-12 14:28:23 +13:00
exceptions Converted to PSR-2 2015-12-18 07:48:37 +13:00
extensions re-introduce getDocumentSets() as deprecated method to allow patch release 2018-04-11 10:34:52 +10:00
forms FIX Rename JsonField to DMSJsonField to add a pseudo-namespace 2017-05-24 14:29:51 +12:00
interface API Remove DMSTag, replace with optional extension for taxonomy module 2017-05-18 17:30:24 +12:00
model Add support for GridfieldOrderableRows 2018-06-18 15:14:08 -04:00
tasks NEW Add migration task and documentation for 1.x to 2.x upgrade 2017-05-09 13:20:30 +12:00
tools FIX Cast shortcode document ID as int 2017-12-07 16:41:52 +13:00
DMS.php remove DMSSiteTreeExtension.getDocumentSets() because it messes with the page history (readonly mode) 2018-03-01 12:15:44 +11:00
DMSShortcodeHandler.php Add tests for returning link with content in shortcode handler and error handling 2017-06-07 16:29:19 +12:00