Changeset 2225719
- Timestamp:
- 01/11/2020 01:15:19 AM (6 years ago)
- Location:
- woo-mainstem
- Files:
-
- 2 edited
-
tags/1.1.1/includes/admin.php (modified) (2 diffs)
-
trunk/includes/admin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-mainstem/tags/1.1.1/includes/admin.php
r2225717 r2225719 134 134 $data = $this->table_data(); 135 135 usort($data, array(&$this, 'sort_data')); 136 $perPage = 2 ;136 $perPage = 25; 137 137 $currentPage = $this->get_pagenum(); 138 138 $totalItems = count($data); … … 247 247 // Set defaults 248 248 $orderby = 'id'; 249 $order = 'asc'; 249 $order = 'desc'; 250 250 251 // If orderby is set, use this as the sort column 251 252 if (!empty($_GET['orderby'])) { -
woo-mainstem/trunk/includes/admin.php
r2225717 r2225719 134 134 $data = $this->table_data(); 135 135 usort($data, array(&$this, 'sort_data')); 136 $perPage = 2 ;136 $perPage = 25; 137 137 $currentPage = $this->get_pagenum(); 138 138 $totalItems = count($data); … … 247 247 // Set defaults 248 248 $orderby = 'id'; 249 $order = 'asc'; 249 $order = 'desc'; 250 250 251 // If orderby is set, use this as the sort column 251 252 if (!empty($_GET['orderby'])) {
Note: See TracChangeset
for help on using the changeset viewer.