Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES |
— | — | @@ -11,6 +11,7 @@ |
12 | 12 | * Fixed bug in "further results" links causing the main column to be displayed twice on Special:Ask (bug 33473). |
13 | 13 | * Fixed incorrect case-sensitivity of the format parameter (bug 31138). |
14 | 14 | * Fixed internationalization of magic words. |
| 15 | +* Fixed offset and limit value in further results links (bug 33575). |
15 | 16 | |
16 | 17 | == SMW 1.7 == |
17 | 18 | |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php |
— | — | @@ -216,6 +216,9 @@ |
217 | 217 | if ( $this->mQuery->getMainLabel() !== false ) { |
218 | 218 | $params['mainlabel'] = $this->mQuery->getMainLabel(); |
219 | 219 | } |
| 220 | + |
| 221 | + $params['offset'] = $this->mQuery->getOffset() + $this->mQuery->getLimit(); |
| 222 | + $params['limit'] = $this->mQuery->getLimit(); |
220 | 223 | |
221 | 224 | if ( count( $this->mQuery->sortkeys ) > 0 ) { |
222 | 225 | $order = implode( ',', $this->mQuery->sortkeys ); |