| Line 84... |
Line 84... |
| 84 |
$p = $this->pretraiterParametresUrl($param);
|
84 |
$p = $this->pretraiterParametresUrl($param);
|
| 85 |
$referentiel = substr($p['ref'], 2, -2);
|
85 |
$referentiel = substr($p['ref'], 2, -2);
|
| Line 86... |
Line 86... |
| 86 |
|
86 |
|
| 87 |
// Construction de la requête
|
87 |
// Construction de la requête
|
| 88 |
$requete = (($this->distinct) ? 'SELECT DISTINCT' : 'SELECT').' num_nom, nom_sci, auteur, annee, '.
|
88 |
$requete = (($this->distinct) ? 'SELECT DISTINCT' : 'SELECT').' num_nom, nom_sci, auteur, annee, '.
|
| 89 |
'biblio_origine, nom_addendum, num_nom_retenu, presence, exclure_taxref'.
|
89 |
' biblio_origine, nom_addendum, num_nom_retenu, presence, exclure_taxref'.
|
| 90 |
' FROM '.$referentiel.$this->construireWhere($p, $referentiel).
|
90 |
' FROM '.$referentiel.$this->construireWhere($p, $referentiel).
|
| 91 |
'ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'nom_sci ASC').' '.
|
91 |
' ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'nom_sci ASC').' '.
|
| Line 92... |
Line 92... |
| 92 |
"LIMIT $this->start, $this->limit ";
|
92 |
" LIMIT $this->start, $this->limit ";
|
| 93 |
|
93 |
|
| 94 |
// Récupération des résultats
|
94 |
// Récupération des résultats
|
| 95 |
try {
|
95 |
try {
|