includes/specials/pagers/DeletedContribsPager.php 1 location
|
@@ 101-106 (lines=6) @@
|
98 |
|
$result = []; |
99 |
|
|
100 |
|
// loop all results and collect them in an array |
101 |
|
foreach ( $data as $query ) { |
102 |
|
foreach ( $query as $i => $row ) { |
103 |
|
// use index column as key, allowing us to easily sort in PHP |
104 |
|
$result[$row->{$this->getIndexField()} . "-$i"] = $row; |
105 |
|
} |
106 |
|
} |
107 |
|
|
108 |
|
// sort results |
109 |
|
if ( $descending ) { |
includes/specials/pagers/ContribsPager.php 1 location
|
@@ 132-137 (lines=6) @@
|
129 |
|
$result = []; |
130 |
|
|
131 |
|
// loop all results and collect them in an array |
132 |
|
foreach ( $data as $query ) { |
133 |
|
foreach ( $query as $i => $row ) { |
134 |
|
// use index column as key, allowing us to easily sort in PHP |
135 |
|
$result[$row->{$this->getIndexField()} . "-$i"] = $row; |
136 |
|
} |
137 |
|
} |
138 |
|
|
139 |
|
// sort results |
140 |
|
if ( $descending ) { |