Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102139
D332.id841.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
Mon, Aug 18, 12:26 AM
Size
890 B
Mime Type
text/x-diff
Expires
Tue, Aug 19, 12:26 AM (2 h, 11 m)
Engine
blob
Format
Raw Data
Handle
713941
Attached To
D332: INP-1732 Create user session, when search is performed
D332.id841.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