Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1198351
D145.id358.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
Thu, Oct 30, 12:07 PM
Size
767 B
Mime Type
text/x-diff
Expires
Fri, Oct 31, 12:07 PM (9 h, 9 m)
Engine
blob
Format
Raw Data
Handle
781351
Attached To
D145: INP-1493 - Always expand calculated fields in WHERE filters
D145.id358.diff
View Options
Index: core/kernel/db/dblist.php
===================================================================
--- core/kernel/db/dblist.php
+++ core/kernel/db/dblist.php
@@ -758,12 +758,10 @@
$where = $this->Application->makeClass('kMultipleFilter');
/* @var $where kMultipleFilter */
- if ( $for_counting ) {
- $where->addFilter('system_where', $this->extractCalculatedFields($this->WhereFilter[self::FLT_SYSTEM]->getSQL()) );
- }
- else {
- $where->addFilter('system_where', $this->WhereFilter[self::FLT_SYSTEM] );
- }
+ $where->addFilter(
+ 'system_where',
+ $this->extractCalculatedFields($this->WhereFilter[self::FLT_SYSTEM]->getSQL())
+ );
if (!$system_filters_only) {
$where->addFilter('view_where', $this->WhereFilter[self::FLT_VIEW] );
Event Timeline
Log In to Comment