You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was comparing the UserCrudController generated by php artisan backpack:crud user command with the step 1 of "Getting Started" page when I first open the admin dashboard and I found a discrepancy.
Well, the documentation says:
When Listing, let's remove the "password" column - no point in showing the hash. To do that, go to UserCrudController::setupListOperation() and remove the line saying CRUD::column('password'); - easy-peasy, right?
but the method of the controller is:
/**
* Define what happens when the List operation is loaded.
*
* @see https://backpackforlaravel.com/docs/crud-operation-list-entries
* @return void
*/
protected function setupListOperation()
{
CRUD::setFromDb(); // set columns from db columns.
/**
* Columns can be defined using the fluent syntax:
* - CRUD::column('price')->type('number');
*/
}
I have the pro version and the packages versions are:
backpack/pro: 2.2.4
backpack/generators: 4.0.5
Maybe do I need to set some configuration parameter?
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I was comparing the
UserCrudController
generated byphp artisan backpack:crud user
command with the step 1 of "Getting Started" page when I first open the admin dashboard and I found a discrepancy.Well, the documentation says:
UserCrudController::setupListOperation()
and remove the line sayingCRUD::column('password');
- easy-peasy, right?but the method of the controller is:
I have the pro version and the packages versions are:
Maybe do I need to set some configuration parameter?
Thanks
The text was updated successfully, but these errors were encountered: