This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
gergo85
I would like to add "where" sql command and hide the some lines (for example soft deleted items). I don't want to use visible checkbox filter.
oly2554
If I'm understanding you right you can use listExtendQuery($query) in your controller. So the function would look a bit like
public function listExtendQuery($query) { $query->where('something', '<>', 'somethingelse'); }
There is more info in the documentation http://octobercms.com/docs/backend/lists#extend-list-behavior
1-3 of 3