Skip to content

Commit

Permalink
🔨 #84 texto
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Oct 7, 2023
1 parent 68cd33f commit 7ce5e55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/control/controllers/TCreateFormList.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ public function addMethod_onSearch($qtdTab)
$this->addBlankLine();
$this->addLine($qtdTab.ESP.'TSession::setValue(__CLASS__.\'_filter_data\', NULL);');
$this->addLine($qtdTab.ESP.'TSession::setValue(__CLASS__.\'_filters\', NULL);');
$this->addBlankLine();
$this->addLine($qtdTab.ESP.'$this->form->setData($data); // fill the form with data again');
$this->addLine($qtdTab.ESP.'// keep the search data in the session');
$this->addLine($qtdTab.ESP.'TSession::setValue(__CLASS__.\'_filter_data\', $data);');
$this->addLine($qtdTab.ESP.'TSession::setValue(__CLASS__.\'_filters\', $filters);');
$this->addBlankLine();
$this->addLine($qtdTab.ESP.'$this->onReload([\'offset\' => 0, \'first_page\' => 1]);');
$this->addLine($qtdTab.'} //END onClear');
}
//--------------------------------------------------------------------------------------
Expand Down

0 comments on commit 7ce5e55

Please sign in to comment.