Commit Graph

181 Commits

Author SHA1 Message Date
UndefinedOffset
ebfaa26021 Fixed issue where if there are no pagination arrows from GridFieldPaginator the arrows for sortable gridfield would show when dragging 2015-10-09 10:20:23 -03:00
Ed Chipman
c224c33173 Fixed column widths not maintaining in the helper element (fixes #74) 2015-09-18 16:03:06 -03:00
Ed Chipman
df26fe04a6 Changed readme to prefer composer (fixes #75) 2015-09-18 15:30:26 -03:00
UndefinedOffset
c7df1ab098 Increased opacity of the non-hovered page arrows to 0.4 from 0.3 2015-09-08 11:35:49 -03:00
UndefinedOffset
74780bb110 Fixed error when dropping onto the arrows 2015-09-08 11:33:54 -03:00
UndefinedOffset
3893e7b052 Redraw is now called when sorting starts 2015-09-08 09:56:21 -03:00
Ed Chipman
089d4e796d Re-enabled check for if the sort checkbox is enabled
Re-enabled removal code if the page sort does not have a previous and/or
next

Spacing corrections
2015-09-06 20:48:10 -03:00
Ed Chipman
fae85f04c1 First pass of new page sort method issue #72 2015-09-06 20:45:00 -03:00
Ed Chipman
282ea74a76 Fixed issue where the even/odd highlight would differ from what the server would generate after sorting 2015-08-29 14:54:46 -03:00
Ed Chipman
ddf5160891 disabled auto complete on the sort toggle checkbox so it is not still checked after a page reload 2015-08-29 14:19:59 -03:00
UndefinedOffset
e21c0d5790 Updated readme to reflect 3.2 support 2015-08-05 14:00:38 -03:00
Daniel Hensby
32cb8d67be Move to new travis containerised infrastructure 2015-08-05 13:56:56 -03:00
Ed Chipman
fe9b45bd3b Updated travis tests to check 3.2 but allow failures until 3.2 is stable #73 2015-07-22 19:49:23 -03:00
Ed Chipman
5af763d05d Relaxed composer requirements for the module, 3.2 seems to be working #73 2015-07-22 19:43:34 -03:00
UndefinedOffset
e8ce22f9e9 Updated copyright year 2015-06-19 15:03:54 -03:00
UndefinedOffset
81e8fae97a Fixed issue where append to top would not correct the order properly in model admin fixes #71 2015-05-07 12:44:55 -03:00
Ed Chipman
9ce8bca316 Merge pull request #69 from danbroooks/master
Allow installation anywhere by adding yml config
2015-04-20 14:22:53 -03:00
Dan Brooks
c6bd9e1878 Allow installation anywhere by adding yml config 2015-04-13 22:17:21 +01:00
Ed Chipman
ff7a30825e Merge pull request #68 from webfox/master
Allow 'disableSelection' to be disabled
2015-04-07 09:26:53 -03:00
Matthew Hailwood
70512329a1 Allow 'disableSelection' to be disabled 2015-04-07 10:09:06 +12:00
Ed Chipman
3e9b1b6e2e Merge pull request #67 from AdenFraser/master
Resets the classes of .odd, .even, .first and .last for gridfields when a update (drop) event occurs.
2015-02-11 09:29:12 -04:00
Aden Fraser
68723005c8 Fix which reset the classes of .odd, .even, .first and .last when a draggable and drop event occurs, which ensures zebra striping remains correct 2015-02-11 12:29:26 +00:00
Ed Chipman
9d60a58343 Added note about many_many relationships and the gridfield needing to be named the same as the relationship (closes #66) 2015-01-17 12:46:20 -04:00
UndefinedOffset
946ca8dc9b Updated translations 2014-10-27 10:14:05 -03:00
UndefinedOffset
b0d1ad1e9c Changed notice for many_many relationships if the extra field is not an int issue #62 2014-10-16 10:25:23 -03:00
Ed Chipman
2e9b7beffd Merge pull request #61 from ismooth/master
Initial sorting equals sortColumn
2014-10-03 11:23:10 -03:00
ismooth
3dfe104b53 Initial sorting equals sortColumn
After a user has changed sorting order of objects in the list, and when drag&drop is disabled, sorting is made by $default_sort from that DataObjects property or default set by SS. This results in different sorting when checkbox is enabled or disabled what confuses users. This change always sorts the list by $sortColumn, so that user always sees same sorting.
2014-10-03 16:01:27 +02:00
Ed Chipman
86d08f9757 Merge pull request #57 from purplespider/patch-1
Fixes fixSortColumn's Random Initial Sorting
2014-08-06 13:15:32 -03:00
James Cocker
e493231556 Fixes fixSortColumn's Random Inital Sorting
When loading a GridField with several new items without a sort order (e.g. after uploading 10 images via GridFieldBulkEditingTools), it would previously apply a seemingly random order to them. This fix ensures that the order applied is the same order as the items were created (or uploaded) in.
2014-08-06 16:34:25 +01:00
Ed Chipman
81886ed81a Replaced use of DataList::where() with DataList::filter() 2014-08-02 13:55:52 -03:00
Ed Chipman
3f1f5dbdb4 Changed travis to not allow any failures 2014-05-03 17:07:22 -03:00
Ed Chipman
32a92e62f1 New translations 2014-03-02 15:11:12 -04:00
UndefinedOffset
97ca1f8f4d Corrected documentation example for appending to top 2014-02-24 16:03:50 -04:00
UndefinedOffset
1e24d1e888 Updated docs to correctly work for 3.1.x and future (mentioned in issue #52) 2014-01-27 17:04:32 -04:00
UndefinedOffset
3f07ee7450 Updated docs to correctly work for 3.1.x and future (mentioned in issue #52) 2014-01-27 14:45:11 -04:00
Ed
c59ec68690 Updated requirements to restrict to 3.0.x and 3.1.x 2014-01-22 15:40:36 -04:00
UndefinedOffset
278b6d6844 New translations 2014-01-10 10:56:36 -04:00
Ed Chipman
8b185cae3b Merge pull request #49 from chillu/pulls/cn-mi-translations
Chinese/Arabic/Te Reo translations
2013-10-29 16:14:58 -07:00
Ingo Schommer
e089a24856 Chinese/Arabic/Te Reo translations 2013-10-30 00:13:07 +01:00
UndefinedOffset
53efc6d9b1 Merge branch 'pulls/transifex' of git://github.com/chillu/SortableGridField 2013-10-25 09:24:52 -03:00
Ingo Schommer
ddbd0e0e3f Transifex support 2013-10-24 23:14:40 +02:00
UndefinedOffset
e3895cc5ef Fixed issue #48 where duplicate sort indexes would occur when appending to top instead of the bottom 2013-10-22 10:36:08 -03:00
Ed
15ead2ae94 Added note about appending to the top 2013-10-19 14:49:41 -03:00
Ed
9736c3a1a3 Added note about appending to the top 2013-10-19 14:43:26 -03:00
Ed
eb1e736805 Made adjustments to make the changes more flexible
Fixed issue causing SortableGridField to not work on ModelAdmin lists
2013-10-19 14:34:45 -03:00
Ed
6ca5bf9a9d Merge branch 'append-to-top' of git://github.com/g4b0/SortableGridField into experimental 2013-10-19 12:23:47 -03:00
Ed Chipman
56b496509f Added note about installing with composer 2013-10-10 09:40:29 -03:00
Ed Chipman
f0b711e1b5 Update LICENSE 2013-09-09 10:11:15 -03:00
Ed Chipman
73565ca916 Merge pull request #44 from silverstripesk/master
added slovak language
2013-09-05 05:12:17 -07:00
Pali Ondras
0a1dda4009 added slovak language 2013-09-05 08:37:17 +02:00