- DB_Model: workaround for CI_DB_driver->_list_columns (if there are two

tables with the same name in two different schemas, it returns a list of
fields from the two tables)
- DB_Model: changed loadTree to use the new method _list_columns
- DB_Model: added the method getSchemaAndTable
- Updated Studiengang_model to specify the schema when using the
loadTree method
- Studiengang_model: removed the titel parameter from method getAppliedStudiengang
- Studiengang2 controller removed the titel parameter from method getAppliedStudiengang
This commit is contained in:
Paolo
2017-04-04 18:27:31 +02:00
parent fb059e98bb
commit 4984b69366
3 changed files with 82 additions and 33 deletions
@@ -88,17 +88,15 @@ class Studiengang2 extends APIv1_Controller
{
$person_id = $this->get('person_id');
$studiensemester_kurzbz = $this->get('studiensemester_kurzbz');
$titel = $this->get('titel');
$status_kurzbz = $this->get('status_kurzbz');
if (isset($person_id) && isset($studiensemester_kurzbz) && isset($titel) && isset($status_kurzbz))
if (isset($person_id) && isset($studiensemester_kurzbz) && isset($status_kurzbz))
{
$this->load->model('organisation/Studiengang_model', 'StudiengangModel');
$result = $this->StudiengangModel->getAppliedStudiengang(
$person_id,
$studiensemester_kurzbz,
$titel,
$status_kurzbz
);