Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.5 dev #10138

Closed
wants to merge 2 commits into from
Closed

3.5 dev #10138

wants to merge 2 commits into from

Conversation

ssv445
Copy link

@ssv445 ssv445 commented Apr 30, 2016

Pull Request for Issue #10108

Summary of Changes

Testing Instructions

  1. extend a sample class MyQuery from JDatabaseQuery.
  2. Use a simple select statement on
    $query = new MyQuery();
    $query->select('user_id');
    $query->where("1");
    $query->limit(5,10);
    $results = JFactory::getDbo()->setQuery($query)->loadAssoclist();

Should get limited records.

Instead of checking for instance of JDatabaseQuery should check query implements JDatabaseQueryLimitable interface
…patch

Should check proper query implements
@brianteeman
Copy link
Contributor

Can you please resubmit this as a pull request against the staging branch - thanks

@ssv445
Copy link
Author

ssv445 commented Apr 30, 2016

Created a new one at - #10139
Please close it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants