Steve Boyd
17f92d08ba
FIX Handle arrays in default_sort
2023-04-06 10:30:12 +12: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
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
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
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
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
Robbie Averill
cb94bbe5e0
FIX Update remaining unit tests, separate stubs, add PSR-4 autoloader
2017-09-18 21:06:17 +01:00