modified: SRC/app/Http/Controllers/ReferentController.php

This commit is contained in:
Malibu 2015-02-20 18:37:58 +01:00
parent a17832b4b6
commit 4c061c4d73
1 changed files with 5 additions and 5 deletions

View File

@ -37,11 +37,11 @@ class ReferentController extends Controller {
$user = User::all();
$dataSearch = [];
$dataSearch['auteur'] = Auteur::all();
$dataSearch['designation'] = Designation::all();
$dataSearch['domaine'] = Domaine::all();
$dataSearch['matiere'] = Matiere::all();
$dataSearch['technique'] = Technique::all();
$dataSearch['auteur'] = Auteur::orderBy('nom')->get();
$dataSearch['designation'] = Designation::orderBy('nom')->get();
$dataSearch['domaine'] = Domaine::orderBy('nom')->get();
$dataSearch['matiere'] = Matiere::orderBy('nom')->get();
$dataSearch['technique'] = Technique::orderBy('nom')->get();
//$ListeOeuvre = ListeOeuvre::find(2);
//$ListeOeuvre->oeuvres()->attach([22, 23, 24, 25, 26]);