Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2853600
D13532.id44713.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13532.id44713.diff
View Options
diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -1442,9 +1442,9 @@
if (!threadSearchResults.has(item.threadInfo.id)) {
continue;
}
- if (item.threadInfo.type === threadTypes.GENESIS_PRIVATE) {
+ if (threadTypeIsPrivate(item.threadInfo.type)) {
privateThreads.push({ ...item, sidebars: [] });
- } else if (item.threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ } else if (threadTypeIsPersonal(item.threadInfo.type)) {
personalThreads.push({ ...item, sidebars: [] });
} else {
otherThreads.push({ ...item, sidebars: [] });
@@ -1482,9 +1482,9 @@
if (!threadSearchResultsSet.has(threadInfo.id)) {
continue;
}
- if (threadInfo.type === threadTypes.GENESIS_PRIVATE) {
+ if (threadTypeIsPrivate(threadInfo.type)) {
privateThreads.push(threadInfo);
- } else if (threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ } else if (threadTypeIsPersonal(threadInfo.type)) {
personalThreads.push(threadInfo);
} else {
otherThreads.push(threadInfo);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 1, 10:28 PM (2 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2213807
Default Alt Text
D13532.id44713.diff (1 KB)
Attached To
Mode
D13532: [lib] Fix thread search order for thick threads
Attached
Detach File
Event Timeline
Log In to Comment