Simplifcado index
This commit is contained in:
parent
40e466aa82
commit
ff07551762
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class SubpedidoController extends Controller
|
|||
{
|
||||
public function index(FiltroDeSubpedido $filtros, Request $request)
|
||||
{
|
||||
return Subpedido::filtrar($filtros)->get();
|
||||
return Subpedido::filtrar($filtros)->select('id','nombre')->get();
|
||||
}
|
||||
|
||||
public function indexResources(FiltroDeSubpedido $filtros, Request $request)
|
||||
|
|
Loading…
Add table
Reference in a new issue