Commit Graph

13 Commits

Author SHA1 Message Date
John Milmine
2f67044ea9 Merge branch 'ManyManyRelationOrdering' of git://github.com/dnadesign/silverstripe-gridfieldextensions
* 'ManyManyRelationOrdering' of git://github.com/dnadesign/silverstripe-gridfieldextensions:
  fixed many many ordering so that other many many lists with the same relation aren't affected
2014-05-26 16:13:39 +12:00
John Milmine
d983768165 fixed many many ordering so that other many many lists with the same relation aren't affected 2014-05-26 16:13:19 +12:00
John Milmine
0e424821a8 Update GridFieldOrderableRows.php
If it's a many many relationship, then it should be based on View not edit, as the sort field will be on the relationship using many_many_extraFields. Plus the view permission allows the user to create a many relationship, so it should allow editing of the relationship.
2014-05-08 14:13:17 +12:00
Ingo Schommer
793f6d96ec Fixed array_key_exists() usage in OrderableRows 2014-03-08 22:18:01 +13:00
Andrew Short
82bb0524b3 Avoid manually constructing URLs.
This means that URLs with query parameters are no longer incorrectly
created.

Closes #6, #23, #27.
2013-10-08 09:30:59 +11:00
Andrew Short
aad2b973ce Add allowed actions definitions 2013-07-11 12:40:13 +10:00
Zauberfisch
910f77b049 MINOR: return on all setters (fixes #16) 2013-04-24 07:28:47 +01:00
ajshort
aa09d48112 Fix sort values not being populated. 2013-02-12 23:52:53 +11:00
ajshort
1bc24992c6 Fix incorrect property accessing. 2013-02-12 23:29:55 +11:00
ajshort
38bb120c88 Remove no longer needed property access hacks. 2013-02-10 16:34:48 +11:00
ajshort
c10810c3f6 Fix requirements being inconsistently included. 2013-02-09 01:42:48 +11:00
Andrew Short
57572def57 Clone lists for 3.0 compatibility. Closes #1. 2013-01-10 22:26:14 +11:00
Andrew Short
e41f2fdacf Implemented a drag-and-drop orderable rows component. 2012-12-30 16:12:06 +11:00