Fix query 4/?
This commit is contained in:
@@ -12,9 +12,9 @@ class Artistes extends CI_Controller {
|
||||
public function index(){
|
||||
$genre = $this->input->get('genre');
|
||||
$order = $this->input->get('order');
|
||||
$query = $this->input->get('query');
|
||||
$query = $this->input->get('query');
|
||||
|
||||
$artists = $this->model_music->getArtists($genre, $order, $query);
|
||||
$artists = $this->model_music->getArtists($genre, $order, $query); // Pass $query
|
||||
$genres = $this->model_music->researchtype();
|
||||
|
||||
$is_logged_in = $this->session->userdata('logged_in');
|
||||
@@ -26,7 +26,8 @@ class Artistes extends CI_Controller {
|
||||
|
||||
$this->load->view('layout/header', $data);
|
||||
$this->load->view('layout/getter', $data);
|
||||
$this->load->view('artists_name', $data);
|
||||
$this->load->view('artists_list', $data);
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -30,7 +30,7 @@ class Music extends CI_Controller {
|
||||
|
||||
$this->load->view('layout/header', $data);
|
||||
$this->load->view('layout/getter', $data);
|
||||
$this->load->view('musiques_name', $data);
|
||||
$this->load->view('musiques_list', $data);
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user