Commit Graph

20 Commits

Author SHA1 Message Date
Michal Kleiner
9944b67632 FIX GridFieldOrderableRows to support polymorphic ManyManyThroughList 2020-05-18 15:33:43 +12:00
Robbie Averill
78c63c6725 Add test for getting the correct Sort order from MMTL items, fix incorrect test class name 2018-09-28 17:59:44 +02:00
Dylan Wagstaff
7355a4a816 Merge branch '3' into 'master' 2018-07-02 11:35:52 +12:00
Dylan Wagstaff
bba8547054 Add unit tests for new ManyManyThrough support
The previous commit (9fa9ef89) added support for the new SilverStripe 4
feature of Many Many relationships through an intermediary object. After
much head scratching and community testing, the solution was proven to
work, however had no automated tests to confirm as such. This commit
rectifies that by testing both versioned and unversioned DataObjects in
a many_many through style relationship. Some minor tidy and comments
were also added as per feedback on the functionality code changes.
2018-07-02 11:28:15 +12:00
Dylan Wagstaff
b6130c4e11 Add unit tests for new ManyManyThrough support
The previous commit (9fa9ef89) added support for the new SilverStripe 4
feature of Many Many relationships through an intermediary object. After
much head scratching and community testing, the solution was proven to
work, however had no automated tests to confirm as such. This commit
rectifies that by testing both versioned and unversioned DataObjects in
a many_many through style relationship. Some minor tidy and comments
were also added as per feedback on the functionality code changes.
2018-06-26 14:41:39 +12:00
Daniel Hensby
ba0d23ab5e
Merge pull request #256 from silverstripe-terraformers/feature/reorder_fix_versioned 2018-04-27 11:55:57 +01:00
Mojmir Fendek
6b47b6d63a Corrected a case when sort column is located in a table that belongs to ancestor class of the item. 2018-04-27 10:00:34 +12:00
Daniel Hensby
8c82965e7e
Merge branch '2' into 3 2018-02-21 13:28:13 +00:00
Daniel Hensby
23c0a58e48
TEST Cover base table last edited update 2017-09-25 11:56:34 +01:00
Robbie Averill
cb94bbe5e0
FIX Update remaining unit tests, separate stubs, add PSR-4 autoloader 2017-09-18 21:06:17 +01:00
Nathan Glasl
ef48ea9cdd NAMESPACE, updating vendor. 2017-06-16 14:46:31 +10:00
Robbie Averill
2acf6dee47 PSR-2 code style guidelines 2016-12-21 15:35:19 +13:00
Robbie Averill
b1c83255c0 Skip some broken tests under 4.x - need to be re-implemented 2016-12-21 15:27:51 +13:00
Robbie Averill
3cacb43934 Update composer constraint, branch alias, namespace and add editorconfig 2016-12-21 15:27:49 +13:00
Jayden Seric
5254b1865c Fixed name-spacing for SilverStripe v4 compatibility
Used [silverstripe-upgrader](https://github.com/silverstripe/silverstripe-upgrader) to fix name-spacing for SilverStripe v4. I then alphabetically sorted the use declarations for readability.

Fixes: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/issues/166.
2016-12-21 15:23:43 +13:00
Damian Mooyman
974c981721
BUG Ensure that unsaved items can be sorted
Fixes #159
2016-08-18 17:49:24 +12:00
Daniel Hensby
66c09cd60d
Proof of reorder bug 2016-07-21 16:47:44 +01:00
Daniel Hensby
52abae49ca
Test tidy up 2016-07-21 13:21:07 +01: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
Andrew Short
4ed382e7a0 Add a test for GridFieldOrderableRows::getSortTable 2013-07-11 12:28:38 +10:00