Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3688
SpecialSearch.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:35 PM
2014-11-21 21:35:38 (UTC+0)
Size
489 B
Referenced Files
None
Subscribers
None
SpecialSearch.patch
View Options
Index: SpecialSearch.php
===================================================================
--- SpecialSearch.php (revision 19680)
+++ SpecialSearch.php (working copy)
@@ -288,7 +288,9 @@
$out = "<ol start='{$off}'>\n";
while( $result = $matches->next() ) {
- $out .= $this->showHit( $result, $terms );
+ if ( ( $result->getTitle() != NULL ) && ( $result->getTitle()->userCanRead() ) ) {
+ $out .= $this->showHit( $result, $terms );
+ }
}
$out .= "</ol>\n";
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3255
Default Alt Text
SpecialSearch.patch (489 B)
Attached To
Mode
T10825: Search should not show pages the user can't read
Attached
Detach File
Event Timeline
Log In to Comment