Skip to content

Commit 929fdab

Browse files
authored
Updated Export Features
1 parent 33f5d12 commit 929fdab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ $(".exportBtn").on("click", function(e){
132132
// append params to url + export type (Excel/PDF)
133133
$(this).attr('href', _href + params + '/' + $(this).text());
134134
window.location.href = $(this).attr('href');
135-
})
135+
});
136136
```
137137

138138
```php
139139
<?php
140140
use \DataTables\DataTable;
141141

142142
class TestController extends \Phalcon\Mvc\Controller {
143-
public function exportAction($type) {
143+
public function exportAction($filters, $type) {
144144
$builder = $this->modelsManager->createBuilder()
145145
->columns('id, name, email, balance')
146146
->from('Example\Models\User');

0 commit comments

Comments
 (0)