Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F804034
D341.id980.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 26, 9:04 AM
Size
700 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 9:04 AM (5 h, 5 m)
Engine
blob
Format
Raw Data
Handle
576748
Attached To
D341: INP-1743 - Don't use "JOIN" in "ListSQLs" property of unit configs
D341.id980.diff
View Options
Index: branches/5.2.x/core/units/content/content_config.php
===================================================================
--- branches/5.2.x/core/units/content/content_config.php
+++ branches/5.2.x/core/units/content/content_config.php
@@ -53,7 +53,7 @@
'ListSQLs' => Array (
'' => ' SELECT %1$s.* %2$s
FROM %1$s
- JOIN ' . TABLE_PREFIX . '%3$sPageRevisions pr ON pr.PageId = %1$s.PageId AND pr.RevisionId = %1$s.RevisionId'
+ LEFT JOIN ' . TABLE_PREFIX . '%3$sPageRevisions pr ON pr.PageId = %1$s.PageId AND pr.RevisionId = %1$s.RevisionId',
),
'ListSortings' => Array (
'' => Array (
@@ -72,4 +72,4 @@
'default' => ''
),
),
-);
\ No newline at end of file
+);
Event Timeline
Log In to Comment