example update

This commit is contained in:
Kavalar 2024-08-29 13:15:41 +03:00
parent d3cda0bd8f
commit 708045664c
2 changed files with 5 additions and 4 deletions

6
composer.lock generated
View File

@ -8,11 +8,11 @@
"packages": [ "packages": [
{ {
"name": "itguild/tables", "name": "itguild/tables",
"version": "1.0.3", "version": "1.0.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.itguild.info/ItGuild/tables", "url": "https://git.itguild.info/ItGuild/tables",
"reference": "1f2b93baf1835191733ed8d5ed0650bdad2e058d" "reference": "ad18d94489c20599ac1080a8b4f7f3199f206fdf"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -30,7 +30,7 @@
"email": "apuc06@mail.ru" "email": "apuc06@mail.ru"
} }
], ],
"time": "2024-08-29T09:41:17+00:00" "time": "2024-08-29T10:13:51+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [

View File

@ -44,7 +44,8 @@ try {
'currentPage' => 1, 'currentPage' => 1,
'perPage' => 3, 'perPage' => 3,
'params' => ["class" => "table table-bordered", "border" => "2"], 'params' => ["class" => "table table-bordered", "border" => "2"],
'baseUrl' => "/admin/user" 'baseUrl' => "/admin/user",
'filters' => ["email"]
])); ]));
$table->columns([ $table->columns([
'username' => [ 'username' => [