Commit Graph

316 Commits

Author SHA1 Message Date
UndefinedOffset bdc7215bbd Added catch to ensure the sort column is an Int or a subclass of the data type Int (fixes #12) 2012-10-12 09:34:01 -03:00
UndefinedOffset 5b0a312a9b Added notice about the directory name not being correct 2012-10-11 15:07:16 -03:00
UndefinedOffset 9b5e892ee4 Syntax highlighting for github 2012-10-10 10:40:53 -03:00
Ed 87151aad83 Syntax highlighting for github 2012-10-10 10:38:21 -03:00
Ed a3e3a4f9b2 Merge pull request #11 from dospuntocero/master
spanish translation.
2012-10-07 14:06:41 -07:00
francisco arenas a5dbd8e8a2 spanish translation 2012-10-07 17:04:09 -03:00
Ed 740ae3e59b Update docs/HasManyExample.md
Corrected HasMany Example
2012-10-05 14:10:58 -03:00
Simon Elvery 62e171a4e3 BUGFIX Make sure it's possible to rename the module's directory without breaking things. 2012-10-01 10:49:44 +10:00
Ed acc1ab1f46 Merge pull request #9 from PatrickElsing/master
German Translation
2012-09-14 05:38:40 -07:00
Patrick Elsing e7ebe6638a German Translation added 2012-09-14 11:14:15 +02:00
Ed 45c4637d69 Merge pull request #8 from PatrickElsing/patch-1
Corrected typo in lang/en.yml
2012-09-13 06:36:23 -07:00
pelse 4fa71d0e40 Update lang/en.yml 2012-09-13 16:02:11 +03:00
UndefinedOffset b3ca9e8d4f Fixed issue were "No items to sort" would always be sent back 2012-09-10 09:40:54 -03:00
Shea 04c49653a6 BUGFIX renamed the Items array that is sent in post, as it was being overriden by another postvar called Items, containing GridState data. The array of Item Ids used by SortableGridField is now called ItemIDs 2012-09-10 13:38:00 +10:00
UndefinedOffset 09af046dc5 Added missing yml file for auto sort test 2012-09-06 12:29:31 -03:00
UndefinedOffset cd0013a8eb Merge branch 'master' of github.com:UndefinedOffset/SortableGridField 2012-09-06 12:28:01 -03:00
UndefinedOffset e1435afd80 Fixed permissions test
Added test for auto sorting
2012-09-06 12:27:23 -03:00
Ed 67b9061106 Update README.md
Added note about not needing to increment the sort index
2012-08-20 12:55:04 -03:00
Ed 2633ac7ecb Fixed issue 6 2012-08-19 14:43:20 -03:00
UndefinedOffset 35f2a5a463 Consistent Formatting 2012-08-10 12:52:39 -03:00
UndefinedOffset 0beef798a0 Sort order is now always fixed even if drag and drop toggle is not on 2012-08-10 12:50:14 -03:00
UndefinedOffset 2bf027e5f0 BUGFIX: Fixed issue were the allow drag and drop checkbox would trigger the form changed flag (Issue 3) thanks dasplan 2012-07-31 09:28:09 -03:00
UndefinedOffset ba979db26c Rollback of change to hide checkbox if there are less than 2 rows, this seems to be breaking in some cases 2012-07-18 17:16:56 -03:00
UndefinedOffset 4e77810771 Changed minimum number of items to be 2, since having the toggle there for 1 doesn't make any sense 2012-07-18 10:39:37 -03:00
UndefinedOffset 38c6515d64 Toggle is now hidden if there are no items in the grid much like GridFieldPaginator 2012-07-18 10:13:17 -03:00
Ed 313b0bd3f3 Updated project config for SS3.0 2012-07-16 19:24:31 -03:00
Ed a95fa8f88d Renamed Eclipse Project 2012-07-15 12:53:27 -03:00
UndefinedOffset 086bff1a13 Added titles 2012-07-10 12:01:35 -03:00
UndefinedOffset 63f3f73900 Added example files 2012-07-10 12:00:06 -03:00
Ed 29e52094ec Corrected example snippet not displaying right 2012-07-10 11:36:54 -03:00
UndefinedOffset b1c3e09ca6 Fixed issue where the sort order could become confused because the filter() was not applied when calling fixSortColumn() 2012-07-10 11:33:22 -03:00
Ed 2dc1fb8f16 Added example for many_many relationships 2012-07-10 11:28:38 -03:00
Ed 42d83a5270 Added information about sorting many_many relationships. 2012-07-03 10:02:56 -03:00
Ed 70df44a4b5 Added info about applying a default sort 2012-07-03 09:43:18 -03:00
Ed 0b0658ea76 Fixed typo and updated required version 2012-06-29 14:46:07 -03:00
Ed 74708a317f Added install instructions 2012-06-26 16:13:23 -03:00
Ed bf52ce15d2 Fixed error caused by the limit not clearing when an attempt is made to get the max sort index 2012-06-18 20:32:51 -03:00
Ed f9664b5b28 Update master 2012-06-18 20:21:42 -03:00
Ed 5f4a217630 MINOR: Added label to the "Allow Drag and Drop" text so that clicking this will activate the checkbox
MINOR: Fixed line-height issues added in beta 3
2012-05-31 19:50:33 -03:00
UndefinedOffset 4c77fff713 Fixed compatibility issues with SS3 Beta 3 2012-05-28 11:26:33 -03:00
Ed ed00b22574 Fixed undefined variable $gridField which would cascade into a fatal error when correcting sort indexes of 0 on many_many relationships 2012-05-18 21:04:34 -03:00
Ed 09326e0c7a Added missing image 2012-05-18 19:28:13 -03:00
UndefinedOffset b0fcb318ad Added visual cue when moving cross pages
Implemented a better sorting algorithm for sorting cross pages

Removed sorting to first page and last page as this would mean re-indexing allot of items potentially
2012-05-18 10:50:09 -03:00
Ed ade87d5ff1 Fixed sorting of items with a sort order of 0 by giving them a sort index which puts them at the end 2012-05-17 22:05:56 -03:00
Ed 9ea7643b06 Update README.md 2012-05-17 17:06:26 -03:00
UndefinedOffset a768c27133 Fixed issue where the datalist would get modified and cause issues with the returned display 2012-05-17 17:04:53 -03:00
UndefinedOffset 786af43ca9 Fixed issue where sortable header and filter could potentially get put back in when changing pages
Fixed issue when sorting cross pages with a many_many list
2012-05-17 16:43:29 -03:00
UndefinedOffset fb767a6722 Fixed spaces instead of tabs 2012-05-17 09:56:16 -03:00
Ed a07118e2d0 Update README.md 2012-05-16 22:41:14 -03:00
Ed 4993f6d3e6 Added support for cross page sorting 2012-05-16 22:37:08 -03:00