task #5 : amélioration des performances pour la recherche de fiche

This commit is contained in:
Dany De Bontridder 2010-10-29 22:55:40 +00:00
parent 5f3dceea42
commit 50908eba18
4 changed files with 19 additions and 15 deletions

View file

@ -60,12 +60,14 @@ if ( isset($_POST['record']))
//--------------------------------------------------------------------------------
// Show the result
//--------------------------------------------------------------------------------
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
{
echo alert(_('Date malformée, désolé'));
exit();
}
if ( isset($_GET['start']) && isset($_GET['end']))
{
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
{
echo alert(_('Date malformée, désolé'));
exit();
}
}
echo '<div id="list">';
$fiche=new Fiche($cn,$_REQUEST['f_id']);
$quick_code=$fiche->get_quick_code();