File tree 4 files changed +13
-3
lines changed
4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ This package is to displaying the model data in a Grid table.
26
26
27
27
Run the composer command:
28
28
29
- ` composer require itstructure/laravel-grid-view "~1.0.7 " `
29
+ ` composer require itstructure/laravel-grid-view "~1.0.8 " `
30
30
31
31
### If you are testing this package from a local server directory
32
32
@@ -467,6 +467,6 @@ $gridData = [
467
467
468
468
## License
469
469
470
- Copyright © 2020-2021 Andrey Girnik girnikandrey@gmail.com .
470
+ Copyright © 2020-2022 Andrey Girnik girnikandrey@gmail.com .
471
471
472
472
Licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) . See LICENSE.txt for details.
Original file line number Diff line number Diff line change 1
1
### CHANGE LOG:
2
2
3
+ ** 1.0.8 January 10, 2022:**
4
+ - Readme fixes.
5
+ - Add ` filtersFormAction ` attribute with empty default value.
6
+
3
7
** 1.0.7 April 22, 2021:**
4
8
- Make possibility to publish views and translations.
5
9
Original file line number Diff line number Diff line change 64
64
</tr >
65
65
@if ($useFilters )
66
66
<tr >
67
- <form action =" " method =" get" id =" grid_view_filters_form" >
67
+ <form action =" {{ $filtersFormAction } } " method =" get" id =" grid_view_filters_form" >
68
68
<td ></td >
69
69
@foreach ($columnObjects as $column_obj )
70
70
<td >
Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ class Grid
81
81
*/
82
82
protected $ rowsFormAction = '' ;
83
83
84
+ /**
85
+ * @var string
86
+ */
87
+ protected $ filtersFormAction = '' ;
88
+
84
89
/**
85
90
* @var bool
86
91
*/
@@ -162,6 +167,7 @@ public function render(): string
162
167
'paginator ' => $ this ->paginator ,
163
168
'title ' => $ this ->title ,
164
169
'rowsFormAction ' => $ this ->rowsFormAction ,
170
+ 'filtersFormAction ' => $ this ->filtersFormAction ,
165
171
'useSendButtonAnyway ' => $ this ->useSendButtonAnyway ,
166
172
'searchButtonLabel ' => $ this ->getSearchButtonLabel (),
167
173
'resetButtonLabel ' => $ this ->getResetButtonLabel (),
You can’t perform that action at this time.
0 commit comments