Commit Graph

85 Commits

Author SHA1 Message Date
Shea Dawson
3f44a865a0 FIX bug with LiteralField for column content
This change allowed me to have a column with a CMSThumbnail in a LiteralField
2014-06-02 14:46:01 +10:00
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
Jyrki Lilja
128737d12a Update only current record for many_many relations
Fixes #48 but needs more testing. I only checked that it works for one case!
2014-04-04 11:09:05 +03:00
Ingo Schommer
793f6d96ec Fixed array_key_exists() usage in OrderableRows 2014-03-08 22:18:01 +13:00
Andrew Short
6727eb3a1d Ensure extra field values are correctly casted.
Closes #11.
2014-02-26 14:02:07 +11:00
nyeholt
49a75b6239 FIX Fixed issue where items were created without being run through DI 2013-11-22 15:00:08 +11:00
Andrew Short
f1eadd549b Sort the automatically generated list of classes. 2013-11-14 23:43:23 +11:00
Andrew Short
6247d4f4ec Make the classes getter public. 2013-11-14 23:36:57 +11:00
Andrew Short
de47c5d3a3 Add missing return tag. 2013-11-14 23:36:28 +11:00
Andrew Short
9abd92bd7f Use properly constructed links in the add new multi class components.
This means that the component now works with URLs which include
parameters, such as when translatable is being used. Closes #30.
2013-10-09 20:34:47 +11: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
a7c357d44d Merge pull request #22 from camspiers/dirname-support
Fix - Support for module to be named other than "gridfieldextensions"
2013-07-13 06:11:45 -07:00
Andrew Short
aad2b973ce Add allowed actions definitions 2013-07-11 12:40:13 +10:00
Cam Spiers
4693aeb8d0 Fix - Support for module to be named other than "gridfieldextensions" 2013-07-08 13:03:18 +12:00
Andrew Short
159b9bbd5c Fix inline adding and editing with no model class defined 2013-06-22 21:38:29 +10:00
Andrew Short
7d63584d42 Add utility request handler class 2013-06-22 21:34:27 +10:00
Zauberfisch
910f77b049 MINOR: return on all setters (fixes #16) 2013-04-24 07:28:47 +01:00
Andrew Short
ff710c9b92 Allow setting a custom search items list
Closes #13. Closes #14.
2013-03-28 20:43:17 +11:00
ajshort
8fc1078437 Fix inline editing when no extra fields were defined. Closes #9. 2013-03-03 19:22:03 +11:00
ajshort
ddb66a9919 Add a basic column header component. Closes #7. 2013-02-24 11:09:14 +11:00
ajshort
8f10ed4924 Make the title and fragment configurable. 2013-02-16 22:59:29 +11:00
ajshort
7061dc402b Change the default fragment. 2013-02-16 22:56:43 +11: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
82cde164e9 Support inline editing of many many extra fields. 2013-02-10 16:59:06 +11:00
ajshort
38bb120c88 Remove no longer needed property access hacks. 2013-02-10 16:34:48 +11:00
ajshort
692453bf9b Implement inline creation of records.
* Builds on the editable cols component with GridFieldAddNewInlineButton.
* Closes #2.
2013-02-09 02:19:30 +11:00
ajshort
c10810c3f6 Fix requirements being inconsistently included. 2013-02-09 01:42:48 +11:00
ajshort
f62493ffa9 Add inline GridFieldEditableColumns component. 2013-02-07 22:31:12 +11:00
ajshort
d7a9d470f9 Add GridFieldAddNewMultiClass component.
This component allows the user to select from a list of classes when creating a new record.
2013-02-02 14:14:59 +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
Andrew Short
a8c586dfc0 Implement the add existing search button. 2012-12-23 22:37:59 +11:00