Skip to content

Commit

Permalink
Merge pull request joomla#89 from joomla-framework/offset-clear
Browse files Browse the repository at this point in the history
Add ability to clear offset
  • Loading branch information
mbabker authored Jun 1, 2017
2 parents 4a6c589 + f7611c4 commit 97ef63b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DatabaseQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,10 @@ public function clear($clause = null)
$this->limit = 0;
break;

case 'offset':
$this->offset = 0;
break;

case 'union':
$this->union = null;
break;
Expand Down

0 comments on commit 97ef63b

Please sign in to comment.