Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1098839
D332.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, Aug 14, 6:50 AM
Size
890 B
Mime Type
text/x-diff
Expires
Fri, Aug 15, 6:50 AM (24 m, 10 s)
Engine
blob
Format
Raw Data
Handle
711473
Attached To
D332: INP-1732 Create user session, when search is performed
D332.diff
View Options
Index: branches/5.2.x/core/kernel/db/cat_event_handler.php
===================================================================
--- branches/5.2.x/core/kernel/db/cat_event_handler.php
+++ branches/5.2.x/core/kernel/db/cat_event_handler.php
@@ -1384,6 +1384,8 @@
ADD INDEX (ResourceId),
ADD INDEX (Relevance)';
$this->Conn->Query($sql);
+
+ $this->Application->StoreVar('search_performed', 1);
}
}
Index: branches/5.2.x/core/units/categories/categories_event_handler.php
===================================================================
--- branches/5.2.x/core/units/categories/categories_event_handler.php
+++ branches/5.2.x/core/units/categories/categories_event_handler.php
@@ -2796,6 +2796,8 @@
ADD INDEX (ResourceId),
ADD INDEX (Relevance)';
$this->Conn->Query($sql);
+
+ $this->Application->StoreVar('search_performed', 1);
}
}
Event Timeline
Log In to Comment