Skip to content

A free open source IT asset/license management system

Fixed locale, added showColumnsToggleAll and minimumCountColumns

snipee5d01170d26c
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index a7a4666f93..b4f47c6a3c 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -46,12 +46,14 @@
stickyHeader: true,
stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10),
stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10),
- locale: locale,
+ locale: '{{ app()->getLocale() }}',
undefinedText: '',
iconsPrefix: 'fa',
cookieStorage: '{{ config('session.bs_table_storage') }}',
cookie: true,
cookieExpire: '2y',
+ showColumnsToggleAll: true,
+ minimumCountColumns: 2,
mobileResponsive: true,
maintainSelected: true,
trimOnSearch: false,