Commit Graph

13 Commits

Author SHA1 Message Date
Leandro Guindani Gehlen
385eb88048 Added yii\data\Sort::parseSortParams
allowing customize other params request formats in descendant class.

close #13170
2017-04-26 01:42:45 +02:00
Sam Mousa
98871123c9 Fixed ignored params when using count in SqlDataProvider 2017-04-25 10:54:18 +02:00
Sam Mousa
ae7378974e Fixes #13376: Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination 2017-04-01 18:27:27 +03:00
Sam Mousa
79f16b1492 Fixes #13883: \yii\data\SqlDataProvider now provides automatic fallback for the case when totalCount is not specified 2017-04-01 16:37:25 +03:00
Alexander Makarov
3f8e8a89eb Used more specific unit test assertions in framework tests 2017-03-14 09:45:31 +03:00
Nikolay Oleynikov
7d82bbcd37 Fixes #13467: yii\data\ActiveDataProvider no longer queries models if models count is zero 2017-02-20 12:00:00 +03:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Carsten Brandt
e327d018b4 added test for pagination params
verify #12569
2016-09-20 09:48:44 +02:00
Klimov Paul
90b9ed87bd Added yii\data\Sort::setAttributeOrders() 2016-08-31 14:03:34 +03:00
Carsten Brandt
8ba032d147 refactored database tests
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
  hierarchie
- added missing db specific test classes
2016-06-20 19:26:43 +02:00
SilverFire - Dmitry Naumenko
030913e7f0 Fixed code style and indentations 2016-05-03 14:51:25 +03:00
Klimov Paul
bc6cc9bfce Unit test for yii\data\Pagination added 2015-05-27 15:48:18 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00