diff --git a/application/controllers/Qsl.php b/application/controllers/Qsl.php index f78d4e33a..6ec8661c4 100644 --- a/application/controllers/Qsl.php +++ b/application/controllers/Qsl.php @@ -36,13 +36,6 @@ class Qsl extends CI_Controller { } - public function searchConfirmations() { - $this->load->model('qsl_model'); - $confirmationtype = xss_clean($this->input->post('type')); - $data['result'] = $this->qsl_model->getConfirmations($confirmationtype); - $this->load->view('qslcard/confirmationresult', $data); - } - public function upload() { // Render Page $data['page_title'] = __("Upload QSL Cards"); diff --git a/assets/js/sections/qsl.js b/assets/js/sections/qsl.js index b1da5e7eb..eb0e7155b 100644 --- a/assets/js/sections/qsl.js +++ b/assets/js/sections/qsl.js @@ -27,7 +27,7 @@ function getConfirmations() { $('#confirmationbutton').prop("disabled", true).addClass("running"); $.ajax({ - url: base_url + 'index.php/qsl/searchConfirmations', + url: base_url + 'index.php/generic_qsl/searchConfirmations', type: 'post', data: {'type': $('#confirmationtype').val()}, success: function(html) {