Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1026013
D341.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
Fri, Jun 13, 6:01 PM
Size
700 B
Mime Type
text/x-diff
Expires
Sat, Jun 14, 6:01 PM (4 h, 32 m)
Engine
blob
Format
Raw Data
Handle
661664
Attached To
D341: INP-1743 - Don't use "JOIN" in "ListSQLs" property of unit configs
D341.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