Skip to content
Snippets Groups Projects
Commit 15aad390 authored by efalcy's avatar efalcy
Browse files

hotline #49519 : indexation domain change error message

parent 65d6413c
Branches
Tags
3 merge requests!1864Master,!1861Hotline master,!1854Hotline#49519 valence les traitements cosmogramme ne terminent jamais
......@@ -47,7 +47,7 @@ class Admin_CatalogueController extends ZendAfi_Controller_Action {
$page=0;
if ($catalogue->getIndexer()) {
if (stripos($requete,'where') ===false) {
$this->view->error = $this->_('Le domain ne ne peut pas etre indexé, il faut au moins un critère d\'indexation');
$this->view->error = $this->_('Le domaine ne ne peut pas être mis en favori utilisateur sans critères d\'indexation');
return false;
}
......
......@@ -568,7 +568,7 @@ class CatalogueControllerActionTesterNoIndexationTest extends AbstractController
/** @test */
public function withNoCriteriaShouldDisplayNoIndexationPossible() {
$this->assertXPathContentContains('//p[@class="error"]','Le domain ne ne peut pas etre indexé, il faut au moins un critère d\'indexation');
$this->assertXPathContentContains('//p[@class="error"]','Le domaine ne ne peut pas être mis en favori utilisateur sans critères d\'indexation');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment