Commit Graph

385 Commits

Author SHA1 Message Date
Milan Jelicanin
0d13112e44 Added extra protection in case onadd update has ui == undefined
Fix for script errors while using GridFieldOrderableRows with module https://github.com/micschk/silverstripe-groupable-gridfield
2016-08-20 04:35:52 +02:00
Marcus
a4d15e4ca4 Merge pull request #160 from open-sausages/pulls/fix-sorting-unsaved
BUG Ensure that unsaved items can be sorted
2016-08-19 18:28:30 +10:00
Damian Mooyman
974c981721
BUG Ensure that unsaved items can be sorted
Fixes #159
2016-08-18 17:49:24 +12:00
Marcus
b93b32b3f9 Merge pull request #154 from dhensby/pulls/simple-reorder
Bug with reordering sortable grid when some sort IDs are duplicated
2016-08-04 17:19:43 +10:00
Daniel Hensby
1d2b20c87f
FIX Correct reorder of inconsistent sort values 2016-07-26 13:02:41 +01:00
Daniel Hensby
66c09cd60d
Proof of reorder bug 2016-07-21 16:47:44 +01:00
Daniel Hensby
423a0d006e
Updating travis builds 2016-07-21 13:21:08 +01:00
Daniel Hensby
52abae49ca
Test tidy up 2016-07-21 13:21:07 +01:00
Marcus
ef51d59b49 Merge pull request #153 from 3Dgoo/feature/sort-column-label
Sort column field label
2016-07-19 11:16:08 +10: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
Marcus
1d4f24de36 Merge pull request #150 from SilbinaryWolf/fix-arraylistsort
fix(GridFieldOrderableRows/ArrayList): Fix ->sort on ArrayList
2016-06-22 12:01:29 +10:00
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 Nyeholt
b04595c975 DOC Alias master to 1.4.x branch 2016-05-19 14:23:42 +10:00
Nathan
03d3bfb2c0 Updating the "travis" build reference. 2016-05-11 10:48:00 +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
Marcus
ec455b8cf5 Merge pull request #144 from SilbinaryWolf/fix-doc-editablecallback
fix(Documentation): Updated to show third case of needing a custom title and a callback
2016-04-20 13:34:03 +10:00
Marcus
a911492a45 Merge pull request #143 from SilbinaryWolf/fix-lastedited
fix(GridFieldOrderableRows): Update LastEdited column on sort.
2016-04-20 13:33:07 +10:00
Jake Bentvelzen
3428a8b670 fix(Documentation): Updated to show third case of needing a custom title and a callback 2016-04-16 12:59:35 +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
11ee7b0647 Merge pull request #141 from SilbinaryWolf/style-editableselect
style(EditableColumns/DropdownField): Styled the <select> tag to look like the other input fields.
2016-04-16 11:25:54 +10:00
Jake Bentvelzen
4d1e7742da fix(EditableColumns): Fixed <select> to have a #fff background-color 2016-04-16 11:15:55 +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
Marcus
a75779084c Merge pull request #139 from SilbinaryWolf/feature-pastemultiple
feat(EditableColumns): Added the ability to paste a newline-seperated list of items into an inline TextField, which would automatically populate into multiple rows.
2016-04-11 12:57:13 +10:00
Jake Bentvelzen
8eb0e5f47d style(EditableColumns/DropdownField): Styled the <select> tag to look like the other input fields. 2016-04-10 19:45:57 +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
Jake Bentvelzen
4407dd4f1b feat(EditableColumns): Added the ability to paste a newline-seperated list of items into an inline TextField, which would automatically populate into multiple rows. 2016-04-10 02:32:28 +10:00
Marcus
84cf612582 Merge pull request #136 from jonom/fix-click-rows
FIX clickable editable rows
2016-03-31 13:36:57 +11:00
Jonathon Menz
126b1d543c FIX clickable editable rows
(fixes #135)
2016-03-30 13:53:39 -07:00
Marcus
223627fef9 Merge pull request #137 from SilbinaryWolf/fix-small-aesthetic-inline-btn
Added the margin-bottom: 12px; to inline button
2016-03-23 02:12:00 +11:00
Jake Bentvelzen
14be079320 Added the margin-bottom: 12px; that's usually applied the '.action' class. Unfortunately putting that class on the button breaks the inline functionality so I opted to just put identical styling into the extension itself. 2016-03-22 14:48:17 +11:00
Marcus
6adec31042 Merge pull request #133 from SilbinaryWolf/support-versioned-dataobjects
Added functionality so that GridFieldOrderableRows updates Versioned data objects as expected.
2016-03-09 15:12:10 +11:00
Jake Bentvelzen
04d3f368c2 Added functionality so that GridFieldOrderableRows updates *_versions table for Versioned data objects. 2016-03-08 15:42:57 +11:00
helpfulrobot
135b248bee Added standard code of conduct file 2016-02-16 12:18:40 +13: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
Marcus
8ea87d851d Merge pull request #126 from SilbinaryWolf/upgrade-gridfieldeditablecolumns
Updated GridFieldEditableColumns to have nicer defaults, so you can just add it in and it'll "just work" with your 'summary_fields' data.
2016-02-02 11:26:48 +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
Marcus
a40312e5ba Merge pull request #120 from spekulatius/adding-badges
Adding badges
2016-01-18 11:11:23 +11:00
Marcus
00c0ce0a63 Merge pull request #124 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
2016-01-15 16:41:02 +11:00
helpfulrobot
ad5c6eb949 Added standard .gitattributes file 2016-01-15 16:51:49 +13:00
Marcus
3d23d99d63 Merge pull request #100 from spekulatius/patch-1
Update de_DE.yml
2016-01-15 10:02:47 +11:00
Marcus
450d6a3b2b DOC Clarify usage of GridFieldOrderableRows
... when used with unsaved data objects.
2015-12-21 10:39:44 +11:00
Peter Thaleikis
4a168006de Adding badges 2015-12-17 22:43:15 +13:00
Marcus
59a90ab385 Merge pull request #117 from SilbinaryWolf/fix-addnewmulticlass-abstract-class-bug
Fixed bug where abstract classes aren't ignored with GridFieldAddNewMultiClass
2015-12-11 12:09:08 +11:00
Silbinary Wolf
51af2147f3 Fixed bug where abstract classes aren't ignored with GridFieldAddNewMultiClass 2015-12-05 18:36:51 +11:00
Marcus
ef57799a68 Merge pull request #114 from rasstislav/patch-1
Create sk.yml
2015-11-17 07:02:18 -08:00
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