Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
611f114942
  1. 2
      app/Http/Controllers/SearchController.php

2
app/Http/Controllers/SearchController.php

@ -80,7 +80,7 @@ class SearchController extends Controller
if ($i == 0){ if ($i == 0){
$adjunctarr[]= array('id'=>$adjunct->adjunct_id, 'name'=>$adjunctname); $adjunctarr[]= array('id'=>$adjunct->adjunct_id, 'name'=>$adjunctname);
} else { } else {
array_push($adjunctarr, array('id'=>$adjunct->adjunct_id, 'name'=>$adjunctnname));
array_push($adjunctarr, array('id'=>$adjunct->adjunct_id, 'name'=>$adjunctname));
}; };
$i++; $i++;
}; };

Loading…
Cancel
Save