Loading module/StepStar/src/StepStar/Controller/Log/LogRechercheController.php +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,9 @@ use Laminas\Http\Response; use Laminas\Paginator\Paginator as LaminasPaginator; use Laminas\View\Model\ViewModel; /** * @property \StepStar\Service\Log\Recherche\LogSearchService $searchService */ class LogRechercheController extends AbstractController implements SearchControllerInterface { use SearchControllerTrait; Loading module/StepStar/src/StepStar/Service/Log/Recherche/LogSearchService.php +8 −2 Original line number Diff line number Diff line Loading @@ -46,16 +46,22 @@ class LogSearchService extends SearchService ->setData([ Log::OPERATION__GENERATION_XML => Log::OPERATION__GENERATION_XML, Log::OPERATION__ENVOI => Log::OPERATION__ENVOI, Log::OPERATION__SYNTHESE => Log::OPERATION__SYNTHESE, ]) ); $this->addFilter( (new SelectSearchFilter("Succès ?", 'success')) ->setWhereField('log.success') ->setData([ 1 => 'Oui', 0 => 'Non', '1' => 'Oui', '0' => 'Non', ]) ); $this->addFilter( (new TextSearchFilter("Log", 'log')) ->setUseLikeOperator() ->setWhereField('log.log') ); $this->addFilter( (new TextSearchFilter("Tag", 'tag')) ->setUseLikeOperator() Loading module/StepStar/view/step-star/log/log-recherche/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -127,11 +127,11 @@ $this->headTitle("Logs"); </td> <td class="<?php echo $log->isSuccess() ? '' : 'text-danger' ?>"> <?php echo $log->getTruncatedLog(80) ?> <?php echo $log->getTruncatedLog(100) ?> </td> <td> <?php echo $log->getTag() ?> <span class="badge bg-secondary"><?php echo $log->getTag() ?></span> </td> <td class="action"> Loading Loading
module/StepStar/src/StepStar/Controller/Log/LogRechercheController.php +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,9 @@ use Laminas\Http\Response; use Laminas\Paginator\Paginator as LaminasPaginator; use Laminas\View\Model\ViewModel; /** * @property \StepStar\Service\Log\Recherche\LogSearchService $searchService */ class LogRechercheController extends AbstractController implements SearchControllerInterface { use SearchControllerTrait; Loading
module/StepStar/src/StepStar/Service/Log/Recherche/LogSearchService.php +8 −2 Original line number Diff line number Diff line Loading @@ -46,16 +46,22 @@ class LogSearchService extends SearchService ->setData([ Log::OPERATION__GENERATION_XML => Log::OPERATION__GENERATION_XML, Log::OPERATION__ENVOI => Log::OPERATION__ENVOI, Log::OPERATION__SYNTHESE => Log::OPERATION__SYNTHESE, ]) ); $this->addFilter( (new SelectSearchFilter("Succès ?", 'success')) ->setWhereField('log.success') ->setData([ 1 => 'Oui', 0 => 'Non', '1' => 'Oui', '0' => 'Non', ]) ); $this->addFilter( (new TextSearchFilter("Log", 'log')) ->setUseLikeOperator() ->setWhereField('log.log') ); $this->addFilter( (new TextSearchFilter("Tag", 'tag')) ->setUseLikeOperator() Loading
module/StepStar/view/step-star/log/log-recherche/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -127,11 +127,11 @@ $this->headTitle("Logs"); </td> <td class="<?php echo $log->isSuccess() ? '' : 'text-danger' ?>"> <?php echo $log->getTruncatedLog(80) ?> <?php echo $log->getTruncatedLog(100) ?> </td> <td> <?php echo $log->getTag() ?> <span class="badge bg-secondary"><?php echo $log->getTag() ?></span> </td> <td class="action"> Loading