Zend Framework

Refactor building of the count query into its own method in the DbSelect adapter

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.8.4
  • Component/s: Zend_Paginator
  • Labels:
    None

Description

The construction of the COUNT query in Paginator's DbSelect adapter should be moved into its own method, called getCountSelect(). This makes the code more readable and the generated queries easier to test.

Activity

Hide
Jurrien Stutterheim added a comment -

Resolved in r16146 and merged to release-1.8 in r16147

Show
Jurrien Stutterheim added a comment - Resolved in r16146 and merged to release-1.8 in r16147

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: