Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
831be33
wip
pxpm Oct 11, 2024
3a61e54
wip
pxpm Oct 11, 2024
f8fec3f
Apply fixes from StyleCI
StyleCIBot Oct 11, 2024
c222441
Apply fixes from StyleCI
StyleCIBot Mar 12, 2025
5e59690
wip
pxpm Mar 19, 2025
792da51
wip
pxpm Mar 19, 2025
dd89d3d
wip
pxpm Mar 24, 2025
d8b8d16
Apply fixes from StyleCI
StyleCIBot Mar 24, 2025
f9b3117
wip
pxpm Mar 27, 2025
e6490ab
wip
pxpm Mar 28, 2025
2e58485
wip
pxpm Mar 28, 2025
f1fdd91
wip
pxpm Apr 1, 2025
693849b
Apply fixes from StyleCI
StyleCIBot Apr 1, 2025
861be11
wip
pxpm Apr 4, 2025
7357fc2
wip
pxpm Apr 7, 2025
74c0bab
wip
pxpm Apr 7, 2025
3ffacd9
Apply fixes from StyleCI
StyleCIBot Apr 7, 2025
60dbf9d
wip
pxpm Apr 24, 2025
863f179
Apply fixes from StyleCI
StyleCIBot Apr 24, 2025
49cc789
wip
pxpm May 2, 2025
868c74c
Apply fixes from StyleCI
StyleCIBot May 2, 2025
b255686
wip
pxpm May 2, 2025
6a92d63
wip
pxpm May 2, 2025
9760254
Apply fixes from StyleCI
StyleCIBot May 2, 2025
b246d64
wip
pxpm May 6, 2025
641ce12
wip
pxpm May 7, 2025
e94f20e
wip
pxpm May 8, 2025
5a71915
fix responsive table
pxpm May 12, 2025
f4a0aea
wip
pxpm May 12, 2025
7cc007d
wip
pxpm May 12, 2025
e3b5759
fix pagination
pxpm May 12, 2025
878ac24
wip
pxpm May 20, 2025
dae5da8
wip
pxpm May 21, 2025
2d583e8
Apply fixes from StyleCI
StyleCIBot May 21, 2025
f66a1f1
wip
pxpm May 27, 2025
9806d93
wip
pxpm May 30, 2025
a83d5b6
Apply fixes from StyleCI
StyleCIBot May 30, 2025
7f00a36
wip
pxpm May 30, 2025
cc93c39
Apply fixes from StyleCI
StyleCIBot May 30, 2025
b8f3157
wip
pxpm Jun 4, 2025
c12786c
Apply fixes from StyleCI
StyleCIBot Jun 4, 2025
e77738c
wip
pxpm Jun 4, 2025
70d6d31
Apply fixes from StyleCI
StyleCIBot Jun 4, 2025
801e5e9
add explanatory comments to CrudPanelManager class
tabacitu Jun 5, 2025
277721f
Apply fixes from StyleCI
StyleCIBot Jun 5, 2025
9bb9011
rename datatables_logic to datatable_logic
tabacitu Jun 5, 2025
262a1f0
Merge branch 'datatable-single-component' of https://github.com/Larav…
tabacitu Jun 5, 2025
1b6ba20
fix
pxpm Jun 5, 2025
0a47c05
Apply fixes from StyleCI
StyleCIBot Jun 5, 2025
3b89f24
wip
pxpm Jun 5, 2025
bd958bb
wip
pxpm Jun 6, 2025
762f513
Apply fixes from StyleCI
StyleCIBot Jun 6, 2025
a974b45
Create setup cache class and create the datatable cache class (#5807)
pxpm Jun 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
pxpm committed Mar 24, 2025
commit 792da513c74ae06c2b0c7124efb711a38a019ca2
16 changes: 9 additions & 7 deletions src/app/Http/Controllers/CrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,21 @@ public function __construct()

public function initializeCrud($request, $operation = null)
{
$crudController = Backpack::crud($this)->setRequest($request);
if ($crudController->isInitialized()) {
$crudPanel = Backpack::crud($this)->setRequest($request);
if ($crudPanel->isInitialized()) {
dd($crudPanel);

return;
}

LifecycleHook::trigger('crud:before_setup_defaults', [$crudController]);
//dd($crudPanel);
LifecycleHook::trigger('crud:before_setup_defaults', [$this]);
$this->setupDefaults();
LifecycleHook::trigger('crud:after_setup_defaults', [$crudController]);
LifecycleHook::trigger('crud:after_setup_defaults', [$this]);

LifecycleHook::trigger('crud:before_setup', [$crudController]);
LifecycleHook::trigger('crud:before_setup', [$this]);
$this->setup();

LifecycleHook::trigger('crud:after_setup', [$crudController]);
LifecycleHook::trigger('crud:after_setup', [$this]);
$this->setupConfigurationForCurrentOperation();

$this->crud->initialized = true;
Expand Down