Skip to content

Commit

Permalink
Fix the @total-entries number in the pagination element for select …
Browse files Browse the repository at this point in the history
…box fields with the *allow multiple* option set
  • Loading branch information
klaftertief committed Sep 19, 2012
1 parent 140b7bc commit 881825f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions symphony/lib/toolkit/fields/field.select.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ public function allowDatasourceParamOutput(){
return true;
}

public function requiresSQLGrouping(){
// SQL grouping follows the opposite rule as toggling.
return !$this->canToggle();
}

/*-------------------------------------------------------------------------
Setup:
-------------------------------------------------------------------------*/
Expand Down

0 comments on commit 881825f

Please sign in to comment.