fix 1.2.4

This commit is contained in:
2026-06-07 23:05:48 +02:00
parent cd10d100ec
commit 4dd4da7f4b
5 changed files with 69 additions and 3 deletions
+24
View File
@@ -177,6 +177,30 @@ $visibleColumnsJson = json_encode($visibleColumns);
</tbody>
</table>
</div>
<div class="card-footer d-flex justify-content-between align-items-center">
<div>
<form method="GET" class="form-inline" id="perPageForm">
<label class="mr-2 small">Righe per pagina:</label>
<select name="perPage" class="form-control form-control-sm" onchange="this.form.submit()" style="width: auto;">
@foreach([10, 20, 25, 50, 100] as $p)
<option value="{{ $p }}" {{ (int) request('perPage', 20) === $p ? 'selected' : '' }}>{{ $p }}</option>
@endforeach
</select>
@foreach(request()->except(['perPage', 'page']) as $key => $value)
@if(is_array($value))
@foreach($value as $v)
<input type="hidden" name="{{ $key }}[]" value="{{ $v }}">
@endforeach
@else
<input type="hidden" name="{{ $key }}" value="{{ $value }}">
@endif
@endforeach
</form>
</div>
<div>
{{ $gruppi->links() }}
</div>
</div>
@else
<div class="card-body p-0">
<div class="tree-view" style="padding: 15px;">