PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_Pager » Bug #5783

Pager do not take care of "order" clause in sql request

Details

Request #5783Pager do not take care of "order" clause in sql request
Submitted2005-10-25 20:20 UTC
Frompluton dot home at free dot fr
Assignedquipo
StatusNo Feedback
PackageDB_Pager
PHP Version4.3.8
OSlinux mandrake 10.1
Roadmaps(Not assigned)

Comments

[2005-10-25 20:20 UTC] pluton dot home at free dot fr

Description:
------------
given the following request"
SELECT * FROM main_db,main_info where main_db.id = main_info.id ORDER BY 'doc_name'
given a link of this type :
// page suivante
printf('<a href="%s?order_by=%s&offset=%d">
next</a>','tab_it.php',$orderby,$data['next']);
the order clause inside the sql is not respected by Pager that is always returning pure numeric order.