Robbie Averill
403900f1fd
FIX Ensure selected page size is retained when deleting records
2017-08-02 09:31:59 +12:00
Robbie Averill
f0d2ec7733
FIX Always show page size dropdown when page size is greater than number of records
2017-08-01 16:44:12 +12:00
Robbie Averill
e95c92a168
NEW Add paginator with configurable page sizes
2017-08-01 14:09:15 +12:00
Nik Rolls
755cafa754
Enable namespace support for GridFieldAddNewMultiClass
2017-07-01 23:28:41 +10:00
Felix Eggmann
5c1f9cca01
Set unique name for AddNewMultiClass Selects
...
fixing wrong behaviour when having multiple Gridfields containing AddNewMultiClass Selects on one form
2017-05-03 14:48:33 +10:00
Marcus
e62422fdb3
Merge pull request #172 from kinglozzer/dupe-html-ids
...
FIX: Prevent duplicate HTML IDs when adding new records inline
2017-01-30 12:05:02 +11:00
Marcus
d0cb616a40
Merge pull request #163 from SomarDesignStudios/pulls/fix-lastedited-table
...
Finds base table to update LastEdited
2017-01-30 11:04:28 +11:00
Loz Calver
cbdb7d4729
FIX: Prevent duplicate HTML IDs when adding new records inline
2016-11-30 15:47:24 +00:00
Jake Bentvelzen
86f1778511
fix(GridFieldAddNewMultiClass): Fix bug where class doesn't exist. (ie. ClassInfo says the class exists, but PHP itself doesn't, since ClassInfo is based on parsed tokens)
2016-10-16 20:05:35 +11:00
Marcus Nyeholt
d72288125a
FIX Swap DataList code to SS_List
...
And remove a reference to a DataList method to rely on the GridField method
instead
2016-10-12 17:24:20 +11:00
Dylan Sweetensen
799f0a0fe2
Finds base table to update LastEdited
2016-08-30 11:11:34 +12:00
Milan Jelicanin
9703aaa5a7
Feat: CMS Notice fired on successful GridField records reorder action
2016-08-23 17:06:56 +02:00
Damian Mooyman
974c981721
BUG Ensure that unsaved items can be sorted
...
Fixes #159
2016-08-18 17:49:24 +12:00
Daniel Hensby
1d2b20c87f
FIX Correct reorder of inconsistent sort values
2016-07-26 13:02:41 +01:00
Michael
d463ba25c1
Adding the ability to set the sort column title by setting $field_labels of a DataObject.
2016-07-18 08:49:37 +09:30
Jake Bentvelzen
cccc5241cd
fix(GridFieldOrderableRows/ArrayList): Fix ->sort on ArrayList to not use quotes (to work around a bug in framework 3.1+)
2016-06-22 11:27:38 +10:00
Marcus
b09519980f
Merge pull request #140 from SilbinaryWolf/feature-immediateupdateflag
...
feat(GridFieldOrderableRows): Re-order gridfield items without immediate reload
2016-04-20 13:34:47 +10:00
Jake Bentvelzen
51b5e657d6
fix(GridFieldOrderableRows): Added additional SQL that updates the "LastEdited" column if working with a non-ManyManyList
2016-04-16 12:49:22 +10:00
Marcus Nyeholt
3f2579a4f1
FIX HtmlEditorField in editable column
...
Rather than disable the field as per #128 , use the full
FieldHolder method to bring the wrapping divs that appear to be necessary
in 3.2 and up. Still a couple of occassional issues, but much less flakey
2016-04-11 14:16:36 +10:00
Jake Bentvelzen
1e3d51730f
feat(GridFieldOrderableRows): Added the ability to change setting on GridFieldOrderableRows so that instead of updating the order immediately, it updates when you hit 'Save Draft' or 'Save and Publish'.
2016-04-10 18:48:21 +10:00
Jonathon Menz
126b1d543c
FIX clickable editable rows
...
(fixes #135 )
2016-03-30 13:53:39 -07:00
Jake Bentvelzen
04d3f368c2
Added functionality so that GridFieldOrderableRows updates *_versions table for Versioned data objects.
2016-03-08 15:42:57 +11:00
Marcus
7d1a48c5d7
Merge pull request #125 from SilbinaryWolf/support-hide-ancestor
...
Added support for 'hide_ancestor' config on GridFieldAddNewMultiClass
2016-02-02 11:28:09 +11:00
Jake Bentvelzen
74343af4c6
Updated GridFieldEditableColumns to have nicer defaults, so you can just add it in and it'll "just work" with your 'summary_fields' data.
2016-01-25 15:10:35 +11:00
Jake Bentvelzen
dcae3c7d75
Added support for 'hide_ancestor' for GridFieldAddNewMultiClass so DataObjects can be hidden similar to how Pages can be hidden from the CMS.
2016-01-20 14:29:44 +11:00
Silbinary Wolf
51af2147f3
Fixed bug where abstract classes aren't ignored with GridFieldAddNewMultiClass
2015-12-05 18:36:51 +11:00
Loz Calver
91b3550ab8
Add extension hook after re-ordering items
2015-11-03 14:56:11 +00:00
Marcus
1d25be7bdd
Merge pull request #109 from spekulatius/adding-space
...
adding space
2015-10-08 11:29:57 +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
Peter Thaleikis
e729ac01f7
fixing phpdoc blocks to refering to Objects to built-in types of PHP
2015-09-28 21:55:01 +13: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
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
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
Nik Rolls
4015d3355f
GridFieldOrderableRows PostgreSQL compatibility
2015-07-14 08:25:50 +12: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
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
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
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