? ? Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
5 Jun 2021

Pull Request for Issue #34417.

Summary of Changes

Fix binding in sql statement when ordering with title.

Thank you for help, @joomdonation and @richard67

Testing Instructions

See issue #34417.
Make a module tags-popular and select ordering "title"

Actual result BEFORE applying this Pull Request

Error

Expected result AFTER applying this Pull Request

Correct output of tags ordered by title

avatar chmst chmst - open - 5 Jun 2021
avatar chmst chmst - change - 5 Jun 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2021
Category Modules Front End
avatar chmst chmst - change - 5 Jun 2021
Title
Fix query after prepared statements
[4.0] Fix query after prepared statements
avatar chmst chmst - edited - 5 Jun 2021
avatar chmst chmst - change - 5 Jun 2021
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 5 Jun 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 5 Jun 2021

I have tested this item successfully on 7abb490


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar jwaisner jwaisner - test_item - 6 Jun 2021 - Tested successfully
avatar jwaisner
jwaisner - comment - 6 Jun 2021

I have tested this item successfully on 7abb490


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar jwaisner jwaisner - change - 6 Jun 2021
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 6 Jun 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar joomdonation
joomdonation - comment - 6 Jun 2021

@chmst Looking more at DatabaseQuery class, I found a better solution and made PR chmst#12 to your branch. Could you please review, test and if it works good, merge it please.

The current code require us to rebind value for each parameters in the right order (depend on the position it is called in the query), so it is not good and flexible enough (don't know how to explain more clear, happy to discuss directly on Glip if needed)

avatar chmst chmst - change - 6 Jun 2021
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 6 Jun 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 6 Jun 2021

I have tested this item successfully on 01edbaa


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar richard67 richard67 - change - 6 Jun 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 6 Jun 2021

Back to pending. One more test needed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar richard67
richard67 - comment - 6 Jun 2021

@joomdonation It's not sufficient just to remove the RTC label here on GitHub because the issue tracker still has status "Ready to Commit" and so will add it back with the next change to the issue, e.g. if someone tests again. For removing RTC you have to change the status in the issue tracker back to pending with some comment at the bottom, same way as when setting RTC.

avatar joomdonation joomdonation - test_item - 6 Jun 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 6 Jun 2021

I have tested this item successfully on 01edbaa


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar joomdonation joomdonation - change - 6 Jun 2021
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 6 Jun 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34422.

avatar richard67 richard67 - close - 6 Jun 2021
avatar richard67 richard67 - merge - 6 Jun 2021
avatar richard67 richard67 - change - 6 Jun 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-06-06 13:22:56
Closed_By richard67
Labels Added: ?
Removed: ?
avatar richard67
richard67 - comment - 6 Jun 2021

Thanks!

Add a Comment

Login with GitHub to post a comment