- return "m.uid, u.prenom, u.nom, u.promo,
- a.alias AS bestalias, m.expertise, mp.pid,
- ms.secteur, ms.ss_secteur";
+ return "m.uid, u.prenom, u.nom, u.promo, u.hruid,
+ m.expertise, mp.pid, ms.secteur, ms.ss_secteur";
+ }
+
+ public function bounds()
+ {
+ $order = Env::v('order', $this->defaultkey);
+ $show_bounds = 0;
+ if (($order == "name") || ($order == "-name")) {
+ $this->bound_field = "nom";
+ $show_bounds = 1;
+ } elseif (($order == "promo") || ($order == "-promo")) {
+ $this->bound_field = "promo";
+ $show_bounds = -1;
+ }
+ if ($order{0} == '-') {
+ $show_bounds = -$show_bounds;
+ }
+ return $show_bounds;