We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f1037 commit 4095c08Copy full SHA for 4095c08
Classes/Fusion/PaginationArrayImplementation.php
@@ -11,10 +11,10 @@ class PaginationArrayImplementation extends AbstractFusionObject
11
*/
12
public function evaluate()
13
{
14
- $maximumNumberOfLinks = $this->tsValue('maximumNumberOfLinks') - 2;
15
- $itemsPerPage = $this->tsValue('itemsPerPage');
16
- $totalCount = $this->tsValue('totalCount');
17
- $currentPage = $this->tsValue('currentPage');
+ $maximumNumberOfLinks = $this->fusionValue('maximumNumberOfLinks') - 2;
+ $itemsPerPage = $this->fusionValue('itemsPerPage');
+ $totalCount = $this->fusionValue('totalCount');
+ $currentPage = $this->fusionValue('currentPage');
18
if ($totalCount > 0 !== true) {
19
return [];
20
}
0 commit comments