Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1174211
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, Oct 2, 2:17 AM
Size
890 B
Mime Type
text/x-diff
Expires
Fri, Oct 3, 2:17 AM (16 h, 26 m)
Engine
blob
Format
Raw Data
Handle
761226
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