-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Revert "Performance gain - new featured article" #11581
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
Conversation
|
I have tested this item ✅ successfully on ca43296 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11581. |
|
The Joomla release that will have this revert,
|
|
I have tested this item ✅ successfully on ca43296 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11581. |
|
RTC. Thanks This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11581. |
|
I have tested this item ✅ successfully on ca43296 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11581. |
|
I have tested successfully. |
|
Tested successfully; For the sake of performance I'd suggest shifting the ordering field instead of reordering: Basically, the same outcome in one query instead of many. |
|
That can be an enhancement, have thought of it, but after executing you still need to check for unique ordering, as existing orderings (for the given category) are not guaranteed to be unique |
|
Well, here's the proper renumbering then: |
|
Similar has been proposed already, it does not work on ALL DBs, (only MySQL ?) |
|
Here it is: |
|
Whatever, I'm implementing this for myself. |
|
As long as Joomla claims to support multiple database engines, accepting patches which penalize users of a certain platform with slower performance should not be acceptable. That's why I argue against switch conditionals for different queries based on the engine. Some exceptions apply, and those are pretty much all already in the code base (like the driver specific subclasses for the Smart Search indexer). |
|
Tested this fix with latest official release 3.6.2 and the order of newly created articles is correct again. |
|
Tested with 3.6.2 and work's fine. |
|
i hope, this change will come in short time. it is very strange with our clients for this problem! |
|
This has already been merged and as you know we have the 3.6.3 release candidate out now. So this will come out next Tuesday |
|
thank you - yes, i have see the message from flow... happy! |
PR for issue #11103
Summery of Changes
The PLT decided to revert #8576 because it is a B/C break
Testing instructions
Expected result
The new Article should be listed first in the frontend category view