From d1f0dbaf84bc9e6a9c18e432b797a559705def39 Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Mon, 27 May 2013 15:25:41 +0000
Subject: [PATCH] 2013-05-27 Miguel de Dios <miguel.dedios@artica.es>

	* operation/search_main.php: change again the label of the bottom
	of list of agents.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                 |  5 +++++
 pandora_console/operation/search_main.php | 15 ++++-----------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 4c5697fcf7..48d03e66bc 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-27 Miguel de Dios <miguel.dedios@artica.es>
+
+	* operation/search_main.php: change again the label of the bottom
+	of list of agents.
+
 2013-05-27  Sergio Martin <sergio.martin@artica.es>
 
 	* godmode/agentes/module_manager_editor_common.php: Fixed
diff --git a/pandora_console/operation/search_main.php b/pandora_console/operation/search_main.php
index f6a660c831..60dbed3d4f 100644
--- a/pandora_console/operation/search_main.php
+++ b/pandora_console/operation/search_main.php
@@ -72,17 +72,10 @@ html_print_table($table);
 if ($searchAgents && $totalAgents > 0) {
 	echo $list_agents;
 	
-	if ($count_agents_main < $totalAgents) {
-		echo "<a href='index.php?search_category=modules&keywords=".$keyword."&head_search_keywords=Search'>" .
-			sprintf(__('Show %s of %s. View all matches'),
-				$count_agents_main, $totalAgents) .
-			"</a>";
-	}
-	else {
-		echo "<a href='index.php?search_category=modules&keywords=".$keyword."&head_search_keywords=Search'>" .
-			__('The search result only this list agents.') .
-			"</a>";
-	}
+	echo "<a href='index.php?search_category=agents&keywords=".$keyword."&head_search_keywords=Search'>" .
+		sprintf(__('Show %s of %s. View all matches'),
+			$count_agents_main, $totalAgents) .
+		"</a>";
 }
 
 echo '</div>';