Commit Graph

137 Commits

Author SHA1 Message Date
rasstislav
319539c00d Create sk.yml 2015-11-17 15:05:44 +01:00
Marcus
a0f032621a Merge pull request #106 from kinglozzer/patch-1
Add extension hook after re-ordering items
2015-11-05 07:33:56 +11:00
Marcus
a56803919f Merge pull request #112 from tractorcow/pulls/tests
Add tests for 3 and 3.2 branches, support 5.6 and test master
2015-11-04 12:27:25 +11:00
Loz Calver
91b3550ab8 Add extension hook after re-ordering items 2015-11-03 14:56:11 +00:00
Damian Mooyman
8e56ed3e5a Add tests for 3 and 3.2 branches, support 5.6
Rename relations which are now physical methods in 3.2
2015-11-03 18:12:37 +13:00
Marcus
1d25be7bdd Merge pull request #109 from spekulatius/adding-space
adding space
2015-10-08 11:29:57 +11:00
Marcus
7a7bfd8fa2 Merge pull request #110 from spekulatius/fixing-phpdoc-blocks
fixing phpdoc blocks to refering to Objects to built-in types of PHP
2015-10-08 11:29:46 +11:00
Peter Thaleikis
3022954a1c adding space 2015-10-06 20:14:13 +13:00
Peter Thaleikis
05e64f237c fixing phpdoc blocks to refering to Objects to built-in types of PHP 2015-10-06 20:14:02 +13:00
Marcus
fe13e8590f Merge pull request #107 from spekulatius/fixing-phpdoc-blocks
fixing phpdoc blocks to refering to Objects to built-in types of PHP
2015-09-28 19:06:01 +10:00
Peter Thaleikis
e729ac01f7 fixing phpdoc blocks to refering to Objects to built-in types of PHP 2015-09-28 21:55:01 +13:00
Marcus
4c1399ac5c Merge pull request #101 from spekulatius/linux-line-endings
linux line endings
2015-09-24 10:04:49 +10:00
Peter Thaleikis
9e3e51ebe2 changing from windows line endings to linux line endings 2015-09-21 22:49:02 +12:00
Marcus
381c6044ee Merge pull request #105 from tomstgeorge/master
Add support for setting a default value for GridFieldAddNewMultiClasss
2015-09-15 10:09:13 +10:00
Marcus
78f59a9eca Merge pull request #103 from spekulatius/external-link
Allowing to refer to external links from a modeladmin
2015-09-15 10:07:55 +10:00
tsg
b6056fc7b9 add support for setting a default value for GridFieldAddNewMultiClasss 2015-09-14 18:16:36 -05:00
Peter Thaleikis
4c8009ad02 Adding possibility to define a custom text for the link 2015-09-14 17:17:23 +12:00
Peter Thaleikis
9a253f27f2 using hasmethod instead of method_exists 2015-09-14 17:15:45 +12:00
Marcus
6845da44f7 Merge pull request #104 from tractorcow/pulls/fix-save-on-sort
BUG Ensure that sorting a row doesn't destroy any unsaved inline changes
2015-09-14 14:10:13 +10:00
Damian Mooyman
f57278b11a BUG Ensure that sorting a row doesn't destroy any unsaved inline changes 2015-09-14 14:53:49 +12:00
Peter Thaleikis
8a9e075914 Allowing to refer to external links from a modeladmin 2015-09-10 21:30:10 +12:00
Marcus
b4a0c9618b Merge pull request #99 from spekulatius/patch-1
Update composer.json
2015-09-07 08:44:41 +10:00
Peter Thaleikis
34d55200c5 Update composer.json
adjusting composer file to 'silverstripe-australia'
2015-09-07 10:40:40 +12:00
Marcus Nyeholt
48b0a1f3fc Composer minor version bump 2015-08-11 15:01:37 +10:00
Marcus
0e3b6318e6 Merge pull request #95 from SilbinaryWolf/master
Fix bug where the current sort value is pulled from the base table if…
2015-07-31 12:14:19 +10:00
Jake Bentvelzen
7a33105b78 Fix bug where the current sort value is pulled from the base table if the sortField has the same name when using ManyManyList 2015-07-30 15:25:30 +10:00
Marcus
bb6748e414 Merge pull request #68 from NobrainerWeb/master
Make the setEmptyString configurable
2015-07-27 19:49:41 +10:00
Marcus
08743ca3a1 Merge pull request #69 from neugartf/patch-1
Small readme fix
2015-07-27 19:48:18 +10:00
Marcus
990630107d Merge pull request #87 from mi3ll/fix-apply_to_current_gridfield_only
Add Inline now only affects the current grid field, not nested or outer gridfields
2015-07-27 19:47:04 +10:00
Marcus
8ee1fb9c15 Merge pull request #94 from nikrolls/patch-1
GridFieldOrderableRows PostgreSQL compatibility
2015-07-15 14:37:22 +10:00
Nik Rolls
4015d3355f GridFieldOrderableRows PostgreSQL compatibility 2015-07-14 08:25:50 +12:00
Marcus
302f7c0dc1 Merge pull request #86 from mi3ll/fix-no-sortable
FIX: Remove sortable only if it has been initialised
2015-03-04 12:28:24 +11:00
Mellisa Hankins
c19ace1be5 GridField - Add Inline now only affects the current grid field, not nested or outer grid fields. 2015-03-04 11:00:48 +11:00
Mellisa Hankins
a3c549d0b0 Added curly brackets 2015-03-04 10:42:43 +11:00
Mellisa Hankins
fe63b4a187 FIX: Don't try to remove sortable if it doesn't exist in the first place 2015-03-04 10:40:53 +11:00
Marcus
ad55ceda83 Merge pull request #85 from pief/master
GridFieldOrderableRows: Prefix sort field with table name when sorting
2015-02-26 12:51:54 +11:00
Pieter Hollants
ea637b0ad5 GridFieldOrderableRows: Prefix sort field with table name when sorting
Prevents ambiguities when the GridField's underlying DataList uses a query
that joins multiple tables having a sort field.
2015-02-23 14:29:08 +01:00
Marcus Nyeholt
4855ac5ec0 Merged in PR #56 from pitchandtone, which had actually partly been merged via a separate but very similar PR 2015-01-29 16:19:38 +11:00
John Milmine
5af8f10869 refactored to make code cleaner 2015-01-29 16:18:24 +13:00
Marcus
00acd79645 Merge pull request #82 from dhensby/patch-1
FIX Filter by ID to be more compatible with `ArrayList`
2015-01-27 10:37:18 +11:00
Daniel Hensby
0f27aef412 FIX Filter by ID to be more compatible with ArrayList
`ArrayList` doesn't have a `byIDs` method so sorting items in an `ArrayList` breaks. This is a more forgiving way of filtering by ID.
2015-01-26 16:42:24 +00:00
Marcus
bb0a84d16a Merge pull request #81 from pief/extrasortfields
Extrasortfields
2015-01-19 09:53:51 +11:00
Pieter Hollants
ffee8d4d35 GridFieldOrderableRows: Allow setting the reorder handles column's number
Until now the column with the handles starting the reorder action always
appeared as the first column at the left of the GridField. As a followup to
the previous change's for extra sort fields, this change allows specifying
a different column index. This way you can eg. move the handles behind a
category column whose sorting will always be enforced, thus giving the user
visual support in understanding the limits of drag-n-drop reordering.
2015-01-18 20:05:44 +01:00
Pieter Hollants
79972af8a2 GridFieldOrderableRows: Support extra sort fields
This change allows for the specification of extra sort fields that are to be
applied before the user-defined sort field's order. This is useful in
scenarios where a GridField is used with one or more "fixed" columns which
eg. categorize the entries and whose order is important but the user should
still be allowed to modify the order within a category.

This change affects the PHP code only, therefore the Javascript code will
still let the user drag rows into foreign "categories". However, after
dropping it the GridField will reload and the extra sort order will be
enforced again.
2015-01-18 20:05:41 +01:00
Marcus
9ff5de80d4 Merge pull request #78 from mattclegg/master
Include requirements for fields
2015-01-03 17:06:35 +11:00
mattclegg
2a8cf3a35f fix travis link 2014-12-28 10:11:38 +00:00
mattclegg
a0cac46fe5 Include requirements for fields 2014-12-28 10:03:04 +00:00
Marcus
600ae4bdf8 Merge pull request #75 from briceburg/editable-relfields
support and cast relationship references as ReadonlyField
2014-12-08 22:14:53 +11:00
Brice Burgess
c7fb5a5203 support and cast relationship references as ReadonlyField 2014-12-08 00:34:21 -05:00
Marcus
187fa61d7a Merge pull request #74 from briceburg/multiclass-setItemRequestClass
allow specification of GridFieldAddNewMultiClass handler
2014-12-08 08:44:55 +11:00