Skip to content

Commit

Permalink
0041246: Administration -> Trash: does not show any results (without …
Browse files Browse the repository at this point in the history
…type-filter)
  • Loading branch information
smeyer-ilias committed Jun 28, 2024
1 parent 17a3ea9 commit 1bc838d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Services/Repository/Trash/class.ilTrashTableGUI.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand Down Expand Up @@ -92,25 +91,26 @@ public function init(): void
public function initFilter(): void
{
$this->setDefaultFilterVisiblity(true);


$type = $this->addFilterItemByMetaType(
'type',
ilTable2GUI::FILTER_SELECT,
false,
$this->lng->txt('type')
);
$type->setOptions($this->prepareTypeFilterTypes());
$this->current_filter['type'] = $type->getValue();
if ($type->getValue() != '') {
$this->current_filter['type'] = $type->getValue();
}

$title = $this->addFilterItemByMetaType(
'title',
ilTable2GUI::FILTER_TEXT,
false,
$this->lng->txt('title')
);
$this->current_filter['title'] = $title->getValue();

if ($title->getValue() != '') {
$this->current_filter['title'] = $title->getValue();
}
$deleted_by = $this->addFilterItemByMetaType(
'deleted_by',
ilTable2GUI::FILTER_TEXT,
Expand Down

0 comments on commit 1bc838d

Please sign in to comment.