Pull Request for Issue #17065 .
Allow to set a LIMIT clause for direct queries.
I confirm you that changing the code as you suggested and adding one more processLimit call works:
if ($this->sql) { return $this->sql; }
to
if ($this->sql) { $this->sql = $this->processLimit($this->sql, $this->limit, $this->offset); return $this->sql; }
joomla-framework/database@a21ee68 fixes it in the Framework repo. We just need to merge the change up to the 2.0 branch then run a composer update
here to pull in the change.
This PR can be closed out and we can close the issue once the merge has been finished.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-11 15:19:42 |
Closed_By | ⇒ | joeforjoomla |
Category | ⇒ | External Library Libraries |
Thanks Michael, sounds great.
I'll close the issue as well when the merge has been completed.
Just wanted to point you out an idea about the issue and how to fix it. I've not so much knowledge of the Framework repository that you are merging into J4