mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
fix stv list filters
This commit is contained in:
@@ -712,7 +712,12 @@ class Students extends FHCAPI_Controller
|
||||
*/
|
||||
protected function addFilter($studiensemester_kurzbz)
|
||||
{
|
||||
$filter = $this->input->get('filter');
|
||||
$filter = json_decode($this->input->get('filter'), true);
|
||||
if (!is_array($filter))
|
||||
{
|
||||
$this->addMeta('addfilter', 'invalid filter: ' . $this->input->get('filter'));
|
||||
return;
|
||||
}
|
||||
if (isset($filter['konto_count_0'])) {
|
||||
$bt = $this->PrestudentModel->escape($filter['konto_count_0']);
|
||||
$stdsem = $this->PrestudentModel->escape($studiensemester_kurzbz);
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
ajaxRequestFunc: (url, params) => {
|
||||
ajaxRequestFunc: (url, config, params) => {
|
||||
if( url === '' )
|
||||
{
|
||||
return Promise.resolve({ data: []});
|
||||
|
||||
Reference in New Issue
Block a user