User tests: Successful: Unsuccessful:
Fix creation performance of form element menuparent
Remove unused left join in getOptions for menuparent form element
No reason because for it being there because
1. Join is left
2. The results of the join are not used anywhere neither in select nor where and not in any other clause
3. There is no PHP code that adds some usage of it under some condition
Visit menu item edit form and, check parent menuitem form field is as before
Category | ⇒ | Administration Components |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Title |
|
Title |
|
Needs to be checked on all databases
On 16 August 2016 at 12:05, Georgios Papadakis notifications@github.com
wrote:
1 more optimization, replaced unneeded
group by with distinctFor reasoning behind the above,
- and for when the above can be done without problems
please see my comment here for similar fix in :
#9516 (comment)
#9516 (comment)which was followed by @alikon https://github.com/alikon making a
similar PR here , that was merged:
#9689 #9689—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11628 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8TOWzIewyv1IKoTNKMeoDiJfOOsIks5qgZlngaJpZM4JlNVu
.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Title |
|
in postgresql don't work as it is now , it give an SQL ERROR
for the ORDER BY
clause field is used a.lft
and therefore must be in the select list of fields when the SELECT
use DISTINCT()
@ggppdk i've submitted a PR ggppdk#2 to your branch with the fix for postgresql
@jeckodevelopment always happy to help when free time permits ;)
this query is still ugly a.published != -2 for example. etc...
ok but nothing significant to further improve performance
these 2 changes are enough to fix the performance issue, on large menu (with a few thousands of menu items)
I have tested this item
I have tested this item
can we have RTC here?
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-25 20:21:48 |
Closed_By | ⇒ | rdeutz |
Labels |
Removed:
?
|
1 more optimization, replaced unneeded
group by with distinct
For reasoning behind the above,
please see my comment here for similar fix in :
#9516 (comment)
which was followed by @alikon making a similar PR, that was tested and merged, see here:
#9689
(and there maybe 1 or 2 more places that need similar changes)