Skip to content

Commit 12c38d4

Browse files
committed
added bogus unit test
2 parents 0380e37 + 81b689f commit 12c38d4

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,18 @@ All Notable changes to `Backpack Generators` will be documented in this file
2020
- Nothing
2121

2222

23+
## 1.1.2 - 2016-07-30
24+
25+
### Added
26+
- Bogus unit tests. At least we'be able to use travis-ci for requirements errors, until full unit tests are done.
2327

2428
## 1.1.1 - 2016-07-31
2529

2630
### Added
27-
- Bogus unit tests. At least we'be able to use travis-ci for requirements errors, until full unit tests are done.
31+
- ajax table view command for CrudControllers
2832

2933

3034
## 1.1.0 - 2016-05-22
3135

3236
### Added
33-
- Generators for CRUD files: backpack:crud, backpack:crud-request, backpack:crud-model and backpack:crud-controller
37+
- Generators for CRUD files: backpack:crud, backpack:crud-request, backpack:crud-model and backpack:crud-controller

src/Console/stubs/crud-controller.stub

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ class DummyClassCrudController extends CrudController {
5555
// NOTE: you also need to do allow access to the right users: $this->crud->allowAccess('details_row');
5656
// NOTE: you also need to do overwrite the showDetailsRow($id) method in your EntityCrudController to show whatever you'd like in the details row OR overwrite the views/backpack/crud/details_row.blade.php
5757

58+
// ------ AJAX TABLE VIEW
59+
// Please note the drawbacks of this though:
60+
// - 1-n and n-n columns are not searchable
61+
// - date and datetime columns won't be sortable anymore
62+
// $this->crud->enableAjaxTable();
63+
5864
// ------ ADVANCED QUERIES
5965
// $this->crud->addClause('active');
6066
// $this->crud->addClause('type', 'car');
@@ -77,4 +83,4 @@ class DummyClassCrudController extends CrudController {
7783
{
7884
return parent::updateCrud();
7985
}
80-
}
86+
}

0 commit comments

Comments
 (0)