Laravel-Backpack / theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.
MIT License
26 stars 14 forks source link

[Bug] config 'searchableTable' #148

Closed smart4you closed 3 months ago

smart4you commented 1 year ago

Bug report

What I did

$this->crud->setOperationSetting('searchableTable', false);

What I expected to happen

Field "Search" will disappear in the upper right corner

What happened

The "Search" field did not disappear, or rather the search icon - visible Screenshot 2023-09-19 101624

What I've already tried to fix it

I manually changed the list.blader.php template - added the condition @if($crud->getOperationSetting('searchableTable')) for the code block <div class="col-sm-3"><div id="datatable_search_stack" class="mt-sm-0 mt-2 d-print-none">...</div></div>

Is it a bug in the latest version of Backpack?

After I run composer update backpack/crud the bug... is it still there?

Yes

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

backpack/backupmanager: v5.0.0 backpack/basset: 1.2.0 backpack/crud: 6.2.0 backpack/generators: v4.0.2 backpack/langfilemanager: 5.0.0 backpack/logmanager: v5.0.0 backpack/permissionmanager: 7.0.1 backpack/pro: 2.0.11 backpack/settings: 3.1.0 backpack/theme-tabler: 1.1.0

welcome[bot] commented 1 year ago

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication channels:

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

-- Justin Case The Backpack Robot

karandatwani92 commented 1 year ago

Hey @smart4you

Thanks for reporting the issue, It's a theme-tabler bug.

pxpm commented 3 months ago

Thanks @smart4you

Sorry this took a while to get fixed. It's done in https://github.com/Laravel-Backpack/CRUD/pull/5578

Cheers