Commit Graph

156 Commits

Author SHA1 Message Date
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
Tomas Bilek
c77d7148a5 Added CS Language file 2013-09-04 20:22:37 -03:00
g4b0
aa222987af Append new items to the top by default 2013-09-04 15:05:28 +02:00
UndefinedOffset
479325a5bc Added license to composer.json 2013-09-03 12:10:16 -03:00
Ed Chipman
9240fa3193 Merge pull request #41 from simonwelsh/patch-1
Create LICENSE
2013-09-02 09:15:58 -07:00
Simon Welsh
aa0b58f47a Create LICENSE 2013-09-02 21:12:00 +12:00
Ed
53eef90c97 Added ModelAdmin Example
Updated examples to say they are written with 3.0.x in mind and public statics should be private in 3.1.x
2013-08-23 21:19:35 -03:00
Ed
1e963bfef1 Added note about GridFieldRelationHandler resolves #40 2013-08-04 12:23:28 -03:00
Ed
cd20fdf697 Added event methods that allow detection of the sort action being started or completed resolves #39 2013-08-04 12:15:37 -03:00
Ed
f21e08f73e Added section about reporting an issue 2013-07-24 20:45:49 -03:00
Ed
44cae7f0f6 Fixed unit test 2013-07-18 21:01:41 -03:00
Ed
830115fa4f Removed extra language that was not needed
Renamed some of the internal actions
2013-07-18 20:54:33 -03:00
Ed
8b10f39dce Fixed issue with 3.1 caused by DataList being full immutable issue #33 2013-07-10 14:24:00 -03:00
Ed Chipman
7cfeb8dc49 Merge pull request #37 from mediaclinic/master
Finnish language file
2013-07-07 15:03:06 -07:00
Shrike
ee7251f93e Finnish language 2013-07-07 23:51:03 +03:00
Ed Chipman
e33d57cb28 Merge pull request #36 from ntd/pr1
Added italian language
2013-05-27 05:16:53 -07:00
Nicola Fontana
f3d6adf3b2 Added italian language 2013-05-27 13:13:46 +02:00
Ed
f75ebaea34 Improved how the last edit table is found using ClassInfo::baseDataClass() 2013-05-25 20:42:35 -03:00
Ed
60c8939f45 Display cms loading indicator when sorting rows on the same page fixes #34 2013-05-25 20:40:14 -03:00
Ed
fc2d17ace5 Improved how the last edit table is found using ClassInfo::baseDataClass() 2013-05-25 20:28:46 -03:00
Ed
a44c66dcb9 Fixed issue caused if the LastEdited column is not on the same table as the sort column 2013-05-25 13:35:55 -03:00
Ed
5af07ed75d LastEdited date is now changed when sorting rows Fixes #35 2013-05-24 19:36:26 -03:00
Ed
4de269e53f Resolved issue #33 when sorting to page the to page sort was called first then the on page sort was called which caused the indexes to become confused 2013-04-26 20:29:34 -03:00
Ed
4827b8e909 Fixed issue #33 were in newer browsers after dropping on the pagination arrows the edit screen would be displayed 2013-04-19 19:32:47 -03:00
UndefinedOffset
399dc0ab89 Allow PGSQL and SQLLITE to fail on 3.1 2013-04-09 13:44:47 -03:00
UndefinedOffset
efdaed9899 Setup travis support 2013-04-09 12:09:06 -03:00