Sabina Talipova
89760c7846
MNT NestedGridField behat tests
2024-05-28 13:50:45 +12:00
Niklas Forsdahl
4fc20fb771
Added one more unit test for GridFieldNestedForm
2024-04-18 17:51:27 +03:00
Niklas Forsdahl
19a7cffa88
Added initial unit test for GridFieldNestedForm
2024-04-15 10:57:05 +03:00
Guy Sartorelli
c9eac61657
Merge branch '3' into 4.0
2023-04-27 14:04:39 +12:00
Steve Boyd
17f92d08ba
FIX Handle arrays in default_sort
2023-04-06 10:30:12 +12:00
Steve Boyd
fd24736b52
FIX Use DataList::orderBy() ( #353 )
2023-01-18 14:00:38 +13:00
Chris Penny
23a5154c97
ENH: Update reorderItems() to use ORM where possible ( #336 )
...
* ENH: Update reorderItems() to use ORM where possible
* Increase test coverage of orderable rows
2022-08-04 10:51:40 +12:00
Guy Sartorelli
acacac2563
Merge pull request #329 from creative-commoners/pulls/3/default-sort-unit-test
...
MNT Add unit tests for default sort
2022-08-01 11:25:29 +12:00
Steve Boyd
93e4379c3d
ENH PHP 8.1 compatibility
2022-04-13 17:44:44 +12:00
Steve Boyd
607a9bcdf9
MNT Add unit tests for default sort
2022-02-02 15:36:25 +13:00
Steve Boyd
5e3037bd2f
API phpunit 9 support
2021-11-09 11:43:41 +13:00
Steve Boyd
74126ed6a7
Merge branch '3.2' into 3
2021-03-20 14:14:24 +13:00
Sam Minnee
6becfc2f89
NEW: Add test for GridFieldEditableColumns
...
Also adds a .gitignore to ignore files created by in-module testing.
2020-09-08 14:57:59 +12:00
Nathan
3aaf4479ce
PHP 7.4
2020-06-10 11:31:21 +10:00
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
0974e36d57
Merge branch '3.0' into 3.1
2018-02-21 11:49:19 +00:00
Daniel Hensby
51dd4cab65
Merge branch '2.0' into 3.0
2018-02-21 11:25:09 +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
Robbie Averill
0ad1fc367e
MINOR Apply PSR-2 linting
2017-09-18 21:06:16 +01:00
Daniel Hensby
9e26e38d75
Merge branch '2'
2017-09-18 17:39:41 +01:00
Robbie Averill
320a6198e5
FIX When setting the page sizes, reset items per page to the first value
2017-08-31 14:35:52 +12:00
Robbie Averill
e95c92a168
NEW Add paginator with configurable page sizes
2017-08-01 14:09:15 +12:00
Daniel Hensby
08ccb15bdb
Merge branch '1.4'
2017-07-05 17:45:20 +01:00
Nik Rolls
755cafa754
Enable namespace support for GridFieldAddNewMultiClass
2017-07-01 23:28:41 +10: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
56422aede2
Add test for the multi class classes getter.
2013-11-14 23:43:38 +11:00
Andrew Short
4ed382e7a0
Add a test for GridFieldOrderableRows::getSortTable
2013-07-11 12:28:38 +10:00