Uses str_slug for filename for JS export (like we do elsewhere)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
173ec44b9e
commit
edab4e1371
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
|||
data-url="{{ route('api.assets.index',['model_id'=> $model->id]) }}"
|
||||
class="table table-striped snipe-table"
|
||||
data-export-options='{
|
||||
"fileName": "export-models-{{ $model->name }}-assets-{{ date('Y-m-d') }}",
|
||||
"fileName": "export-models-{{ str_slug($model->name) }}-assets-{{ date('Y-m-d') }}",
|
||||
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
||||
}'>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Reference in a new issue