File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 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.
2626
2727Run the composer command:
2828
29- ` composer require itstructure/laravel-grid-view "~1.0.7 " `
29+ ` composer require itstructure/laravel-grid-view "~1.0.8 " `
3030
3131### If you are testing this package from a local server directory
3232
@@ -467,6 +467,6 @@ $gridData = [
467467
468468## License
469469
470- Copyright © 2020-2021 Andrey Girnik girnikandrey@gmail.com .
470+ Copyright © 2020-2022 Andrey Girnik girnikandrey@gmail.com .
471471
472472Licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) . See LICENSE.txt for details.
Original file line number Diff line number Diff line change 11### CHANGE LOG:
22
3+ ** 1.0.8 January 10, 2022:**
4+ - Readme fixes.
5+ - Add ` filtersFormAction ` attribute with empty default value.
6+
37** 1.0.7 April 22, 2021:**
48- Make possibility to publish views and translations.
59
Original file line number Diff line number Diff line change 6464 </tr >
6565 @if ($useFilters )
6666 <tr >
67- <form action =" " method =" get" id =" grid_view_filters_form" >
67+ <form action =" {{ $filtersFormAction } } " method =" get" id =" grid_view_filters_form" >
6868 <td ></td >
6969 @foreach ($columnObjects as $column_obj )
7070 <td >
Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ class Grid
8181 */
8282 protected $ rowsFormAction = '' ;
8383
84+ /**
85+ * @var string
86+ */
87+ protected $ filtersFormAction = '' ;
88+
8489 /**
8590 * @var bool
8691 */
@@ -162,6 +167,7 @@ public function render(): string
162167 'paginator ' => $ this ->paginator ,
163168 'title ' => $ this ->title ,
164169 'rowsFormAction ' => $ this ->rowsFormAction ,
170+ 'filtersFormAction ' => $ this ->filtersFormAction ,
165171 'useSendButtonAnyway ' => $ this ->useSendButtonAnyway ,
166172 'searchButtonLabel ' => $ this ->getSearchButtonLabel (),
167173 'resetButtonLabel ' => $ this ->getResetButtonLabel (),
You can’t perform that action at this time.
0 commit comments