Changeset 3106:729173e2b2a8 for admin
- Timestamp:
- 09/29/15 17:34:17 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blogs.php
r3046 r3106 66 66 $rs = $core->getBlogs($params); 67 67 $nb_blog = $counter->f(0); 68 $rsStatic = $rs->toStatic(); 69 if ($sortby != 'blog_upddt') { 70 // Sort blog list using lexical order if necessary 71 $rsStatic->extend('rsExtUser'); 72 $rsStatic = $rsStatic->toExtStatic(); 73 $rsStatic->lexicalSort(($sortby == 'UPPER(blog_name)' ? 'blog_name' : 'blog_id'),$order); 74 } 68 75 } catch (Exception $e) { 69 76 $core->error->add($e->getMessage()); … … 163 170 '</tr>'; 164 171 165 while ($rs ->fetch()) {166 echo blogLine($rs );172 while ($rsStatic->fetch()) { 173 echo blogLine($rsStatic); 167 174 } 168 175
Note: See TracChangeset
for help on using the changeset viewer.