@@ 234-238 (lines=5) @@ | ||
231 | break; |
|
232 | ||
233 | case 'begin.desc': |
|
234 | case 'begin': |
|
235 | $this->orderbyname = bab_url::mod($url, 'orderby', 'name'); |
|
236 | $this->orderbybegin = bab_url::mod($url, 'orderby', 'begin.asc'); |
|
237 | $req .= " ORDER BY e.date_begin desc, u.lastname, u.firstname"; |
|
238 | break; |
|
239 | ||
240 | case 'name.desc': |
|
241 | $this->orderbyname = bab_url::mod($url, 'orderby', 'name.asc'); |
|
@@ 240-244 (lines=5) @@ | ||
237 | $req .= " ORDER BY e.date_begin desc, u.lastname, u.firstname"; |
|
238 | break; |
|
239 | ||
240 | case 'name.desc': |
|
241 | $this->orderbyname = bab_url::mod($url, 'orderby', 'name.asc'); |
|
242 | $this->orderbybegin = bab_url::mod($url, 'orderby', 'begin'); |
|
243 | $req .= " ORDER BY u.lastname DESC, u.firstname DESC, e.date desc"; |
|
244 | break; |
|
245 | ||
246 | case 'name.asc': |
|
247 | case 'name': |
|
@@ 247-251 (lines=5) @@ | ||
244 | break; |
|
245 | ||
246 | case 'name.asc': |
|
247 | case 'name': |
|
248 | $this->orderbyname = bab_url::mod($url, 'orderby', 'name.desc'); |
|
249 | $this->orderbybegin = bab_url::mod($url, 'orderby', 'begin'); |
|
250 | $req .= " ORDER BY u.lastname ASC, u.firstname ASC, e.date desc"; |
|
251 | break; |
|
252 | } |
|
253 | ||
254 |