Suppression de la recherche par premier caractre
This commit is contained in:
parent
00bb14dc2d
commit
26a17a7f14
@ -78,11 +78,6 @@ if (strlen($stcomm))
|
||||
$sql .= " AND s.fk_stcomm=$stcomm";
|
||||
}
|
||||
|
||||
if (strlen($user->page_param["begin"]))
|
||||
{
|
||||
$sql .= " AND upper(s.nom) like '".$user->page_param["begin"]."%'";
|
||||
}
|
||||
|
||||
if ($user->societe_id)
|
||||
{
|
||||
$sql .= " AND s.idp = " .$user->societe_id;
|
||||
@ -125,24 +120,6 @@ if ($result)
|
||||
|
||||
print_barre_liste($langs->trans("ProspectList"), $page, "prospects.php",'&stcomm='.$_GET["stcomm"],"","",'',$num);
|
||||
|
||||
print '<div align="center">';
|
||||
|
||||
print "| <a href=\"prospects.php?page=$pageprev&stcomm=$stcomm&begin=%25\">*</a>\n| ";
|
||||
for ($ij = 65 ; $ij < 91; $ij++) {
|
||||
print "<a href=\"prospects.php?begin=" . chr($ij) . "&stcomm=$stcomm\" class=\"T3\">";
|
||||
|
||||
if ($user->page_param["begin"] == chr($ij) )
|
||||
{
|
||||
print "<b>>" . chr($ij) . "<</b>" ;
|
||||
}
|
||||
else
|
||||
{
|
||||
print chr($ij);
|
||||
}
|
||||
print "</a> | ";
|
||||
}
|
||||
print "</div>";
|
||||
|
||||
$i = 0;
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user